Block Properties |
The Block 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.) | |
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.) | |
Count |
The number of code objects in the Block.
| |
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
EndColumnNumber |
The ending column number associated with the Block if parsed from or written to text form. This will be the
column of the closing '}' if any, or of the last token if there are no braces, which is usually the ';' of the last statement.
| |
EndLineNumber |
The ending line number associated with the Block if parsed from or written to text form. This will be the
line of the closing '}' if any, or of the last token if there are no braces, which is usually the ';' of the last statement.
| |
EndNewLines |
The number of newlines preceding the closing '}' (0 to N).
| |
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.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasBraces |
True if the Block is delimited by braces.
| |
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.) | |
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.
(Overrides CodeObjectHasTerminator.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
InfixEOLComment |
The "Infix" End-Of-Line comment for the Initializer (if any) - appears after the open brace.
| |
IsFirstOnLine |
Determines if the code object appears as the first item on a line.
(Overrides CodeObjectIsFirstOnLine.) | |
IsFirstOnLineDefault |
True if the code object defaults to starting on a new line.
(Overrides CodeObjectIsFirstOnLineDefault.) | |
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.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsReadOnly |
Always false.
| |
IsRenderable |
True if the CodeObject is renderable.
(Inherited from CodeObject.) | |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Overrides CodeObjectIsSingleLine.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Overrides CodeObjectIsSingleLineDefault.) | |
IsSynchronized |
True if access to the ICollection is synchronized.
| |
Item |
Get the child CodeObject at the specified index.
| |
Last |
Get the last CodeObject in the Block.
| |
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
NewLines |
The number of newlines preceding the opening '{' (0 or 1 only - setting a higher value is ignored).
(Overrides CodeObjectNewLines.) | |
Parent |
The parent CodeObject.
(Overrides CodeObjectParent.) | |
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
|