Click or drag to resize

Block Properties

The Block type exposes the following members.

Properties
  NameDescription
Public property_AsString
This property is just to make debugging easier.
(Inherited from CodeObject.)
Public propertyAnnotations
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.)
Public propertyColumnNumber
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyComment
The comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyCount
The number of code objects in the Block.
Public propertyDocComment
The documentation comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyEndColumnNumber
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.
Public propertyEndLineNumber
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.
Public propertyEndNewLines
The number of newlines preceding the closing '}' (0 to N).
Public propertyEOLComment
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyHasAnnotations
True if the code object has any annotations.
(Inherited from CodeObject.)
Public propertyHasAttributes
True if the code object has any attributes.
(Inherited from CodeObject.)
Public propertyHasBraces
True if the Block is delimited by braces.
Public propertyHasComments
True if the code object has any comments of any kind.
(Inherited from CodeObject.)
Public propertyHasCompilerDirectives
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.)
Public propertyHasDocComments
True if the code object has any documentation comments.
(Inherited from CodeObject.)
Public propertyHasEOLComments
True if the code object has any EOL comments.
(Inherited from CodeObject.)
Public propertyHasEOLOrPostAnnotations
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.)
Public propertyHasErrors
True if the code object has any error messages.
(Inherited from CodeObject.)
Public propertyHasFirstOnLineAnnotations
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.)
Public propertyHasInfixComments
True if the code object has any Infix comments.
(Inherited from CodeObject.)
Public propertyHasMessages
True if the code object has any generated messages.
(Inherited from CodeObject.)
Public propertyHasNoIndentation
Determines if the code object has no indentation.
(Inherited from CodeObject.)
Public propertyHasNonEOLComments
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.)
Public propertyHasPostAnnotations
True if the code object has any postfix annotations.
(Inherited from CodeObject.)
Public propertyHasTerminator
Determines if the code object has a terminator character.
(Overrides CodeObjectHasTerminator.)
Public propertyHiddenRef
Any hidden reference to another CodeObject.
(Inherited from CodeObject.)
Public propertyInfixComment
The infix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyInfixEOLComment
The "Infix" End-Of-Line comment for the Initializer (if any) - appears after the open brace.
Public propertyIsFirstOnLine
Determines if the code object appears as the first item on a line.
(Overrides CodeObjectIsFirstOnLine.)
Public propertyIsFirstOnLineDefault
True if the code object defaults to starting on a new line.
(Overrides CodeObjectIsFirstOnLineDefault.)
Public propertyIsGenerated
Determines if the code object is generated.
(Inherited from CodeObject.)
Public propertyIsGroupingSet
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.)
Public propertyIsNewLinesSet
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.)
Public propertyIsReadOnly
Always false.
Public propertyIsRenderable
True if the CodeObject is renderable.
(Inherited from CodeObject.)
Public propertyIsSingleLine
Determines if the code object only requires a single line for display.
(Overrides CodeObjectIsSingleLine.)
Public propertyIsSingleLineDefault
True if the code object only requires a single line for display by default.
(Overrides CodeObjectIsSingleLineDefault.)
Public propertyIsSynchronized
True if access to the ICollection is synchronized.
Public propertyItem
Get the child CodeObject at the specified index.
Public propertyLast
Get the last CodeObject in the Block.
Public propertyLineNumber
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyNewLines
The number of newlines preceding the opening '{' (0 or 1 only - setting a higher value is ignored).
(Overrides CodeObjectNewLines.)
Public propertyParent
The parent CodeObject.
(Overrides CodeObjectParent.)
Public propertyPostfixComment
The postfix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
Top
See Also