UncheckedBlock Properties |
The UncheckedBlock type exposes the following members.
Name | Description | |
---|---|---|
_AsString |
This property is just to make debugging easier.
(Inherited from CodeObject.) | |
Annotations |
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.) | |
Body |
The Block body.
(Inherited from BlockStatement.) | |
ColumnNumber |
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Comment |
The comment for the code object (if any).
(Inherited from CodeObject.) | |
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
EOLComment |
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.) | |
HasAnnotations |
True if the code object has any annotations.
(Inherited from CodeObject.) | |
HasArgument |
True if the Statement has an argument.
(Overrides BlockStatementHasArgument.) | |
HasArgumentParens |
True if the Statement has parens around its argument.
(Inherited from Statement.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasBraces |
True if the BlockStatement has braces.
(Inherited from BlockStatement.) | |
HasBracesAlways |
True if the BlockStatement always requires braces.
(Inherited from BlockStatement.) | |
HasComments |
True if the code object has any comments of any kind.
(Inherited from CodeObject.) | |
HasCompilerDirectives |
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.) | |
HasDocComments |
True if the code object has any documentation comments.
(Inherited from CodeObject.) | |
HasEOLComments |
True if the code object has any EOL comments.
(Inherited from CodeObject.) | |
HasEOLOrPostAnnotations |
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.) | |
HasErrors |
True if the code object has any error messages.
(Inherited from CodeObject.) | |
HasFirstOnLineAnnotations |
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.) | |
HasHeader | (Inherited from BlockStatement.) | |
HasInfixComments |
True if the code object has any Infix comments.
(Inherited from CodeObject.) | |
HasMessages |
True if the code object has any generated messages.
(Inherited from CodeObject.) | |
HasNoIndentation |
Determines if the code object has no indentation.
(Inherited from CodeObject.) | |
HasNonEOLComments |
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.) | |
HasPostAnnotations |
True if the code object has any postfix annotations.
(Inherited from CodeObject.) | |
HasTerminator |
Determines if the code object has a terminator character.
(Inherited from CodeObject.) | |
HasTerminatorDefault |
True if the Statement has a terminator character by default.
(Inherited from BlockStatement.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IsCompactIfEmptyDefault |
True if the BlockStatement has compact empty braces by default.
(Inherited from BlockStatement.) | |
IsEndFirstOnLine |
True if the closing paren or bracket is on a new line.
(Inherited from Statement.) | |
IsFirstOnLine |
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.) | |
IsFirstOnLineDefault |
True if the code object defaults to starting on a new line.
(Inherited from CodeObject.) | |
IsGenerated |
Determines if the code object is generated.
(Inherited from CodeObject.) | |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsMethodBodyLevel |
True if a BlockStatement is at a method body level (contains general code statements).
For example, anything at a MethodDeclBase level or lower in the code tree. Specifically, NOT
a NamespaceDecl, TypeDecl, or PropertyDeclBase.
(Inherited from BlockStatement.) | |
IsMultiPart |
True for multi-part statements, such as try/catch/finally or if/else.
(Inherited from BlockStatement.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsRenderable |
True if the CodeObject is renderable.
(Inherited from CodeObject.) | |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Inherited from BlockStatement.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from BlockStatement.) | |
IsTopLevel |
True if a BlockStatement is at the top level (those that have no header and no indent).
For example, a CodeUnit, a BlockDecl with no parent or a DocComment
or Project parent.
(Inherited from BlockStatement.) | |
Keyword |
The keyword associated with the Statement.
(Overrides StatementKeyword.) | |
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from Statement.) | |
Parent |
The parent CodeObject.
(Inherited from CodeObject.) | |
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
RequiresEmptyStatement |
True if the BlockStatement requires an empty statement if it has an empty block with no braces.
(Inherited from BlockStatement.) | |
Terminator |
The terminator character for the Statement.
(Inherited from Statement.) |