LocalDecl Properties |
The LocalDecl 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.) |
![]() | Category |
The descriptive category of the code object.
(Overrides VariableDeclCategory.) |
![]() | 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.
(Inherited from VariableDecl.) |
![]() | HasArgumentParens |
True if the Statement has parens around its argument.
(Inherited from VariableDecl.) |
![]() | HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) |
![]() | 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.) |
![]() | HasInferredType |
True if the variable has an inferred ('var') type.
(Inherited from VariableDecl.) |
![]() | HasInfixComments |
True if the code object has any Infix comments.
(Inherited from CodeObject.) |
![]() | HasInitialization |
True if the variable has an initialization Expression.
(Inherited from VariableDecl.) |
![]() | 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.) |
![]() | HasTerminatorDefault |
True if the Statement has a terminator character by default.
(Inherited from VariableDecl.) |
![]() | HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) |
![]() | InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) |
![]() | Initialization |
An optional initialization Expression.
(Inherited from VariableDecl.) |
![]() | IsConst |
True if the local variable is const.
(Overrides VariableDeclIsConst.) |
![]() | IsDiscard |
Return True if the LocalDecl is a discard variable.
|
![]() | 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.) |
![]() | IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) |
![]() | IsReadOnly |
True if the local variable is readonly.
|
![]() | IsRef |
True if the local variable is a ref.
|
![]() | 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 VariableDecl.) |
![]() | IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from VariableDecl.) |
![]() | IsStatic |
Always false for a local variable.
(Overrides VariableDeclIsStatic.) |
![]() | Keyword |
The keyword associated with the Statement (null if none).
(Inherited from Statement.) |
![]() | LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) |
![]() | Modifiers |
Optional Modifiers. Only 'const' or 'ref' or 'readonly' are valid for local variables.
|
![]() | Name |
The name of the variable.
(Inherited from VariableDecl.) |
![]() | 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.) |
![]() | Terminator |
The terminator character for the Statement.
(Inherited from Statement.) |
![]() | Type |
The type of the LocalDecl.
(Overrides VariableDeclType.) |