EnumDecl Properties |
The EnumDecl 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.) | |
BaseTypes |
The list of base types.
(Inherited from BaseListTypeDecl.) | |
Body |
The Block body.
(Inherited from BlockStatement.) | |
Category |
The descriptive category of the code object.
(Inherited from TypeDecl.) | |
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.) | |
ConstraintClauses |
A collection of optional ConstraintClauses (for generic types).
(Inherited from TypeDecl.) | |
DeclaringType |
Get the declaring TypeDecl.
(Inherited from TypeDecl.) | |
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 TypeDecl.) | |
HasArgumentParens |
True if the Statement has parens around its argument.
(Inherited from TypeDecl.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasBaseTypes |
True if there are any base types.
(Inherited from BaseListTypeDecl.) | |
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.) | |
HasConstraintClauses |
True if there are any ConstraintClauses.
(Inherited from TypeDecl.) | |
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.) | |
HasTypeParameters |
True if the type has TypeParameters.
(Inherited from TypeDecl.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IsAbstract |
True if the type is abstract.
(Inherited from TypeDecl.) | |
IsBitFlags |
True if this is a bit-flag type enum, otherwise false.
| |
IsClass |
True if the type is a class.
(Inherited from TypeDecl.) | |
IsComImport |
True if the type is a COM Import.
(Inherited from TypeDecl.) | |
IsCompactIfEmptyDefault |
True if the BlockStatement has compact empty braces by default.
(Inherited from BlockStatement.) | |
IsDelegateType |
True if the type is a delegate type.
(Inherited from TypeDecl.) | |
IsEndFirstOnLine |
True if the closing paren or bracket is on a new line.
(Inherited from Statement.) | |
IsEnum |
Always true for an enum.
(Overrides TypeDeclIsEnum.) | |
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.) | |
IsGenericParameter |
True if the type is a generic parameter.
(Inherited from TypeDecl.) | |
IsGenericType |
Always false for an enum.
(Overrides TypeDeclIsGenericType.) | |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsInterface |
True if the type is an interface.
(Inherited from TypeDecl.) | |
IsInternal |
True if the type has internal access.
(Inherited from TypeDecl.) | |
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 TypeDecl.) | |
IsMultiPart |
True for multi-part statements, such as try/catch/finally or if/else.
(Inherited from BlockStatement.) | |
IsNested |
True if the type is a nested type.
(Inherited from TypeDecl.) | |
IsNew |
True if the type has a 'new' modifier.
(Inherited from TypeDecl.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsNullableType |
True if the type is a nullable type.
(Inherited from TypeDecl.) | |
IsPartial |
True if the type is a partial type.
(Inherited from TypeDecl.) | |
IsPrivate |
True if the type has private access.
(Inherited from TypeDecl.) | |
IsProtected |
True if the type has protected access.
(Inherited from TypeDecl.) | |
IsPublic |
True if the type has public access.
(Inherited from TypeDecl.) | |
IsReadOnly |
True if the type is a 'readonly' type.
(Inherited from TypeDecl.) | |
IsRef |
True if the type is a 'ref' type.
(Inherited from TypeDecl.) | |
IsRenderable |
True if the CodeObject is renderable.
(Inherited from CodeObject.) | |
IsSealed |
True if the type is sealed.
(Inherited from TypeDecl.) | |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Inherited from BaseListTypeDecl.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Overrides BlockStatementIsSingleLineDefault.) | |
IsStatic |
Always true for an enum.
(Overrides TypeDeclIsStatic.) | |
IsStruct |
True if the type is a struct.
(Inherited from TypeDecl.) | |
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.) | |
IsValueType |
Always true for an enum.
(Overrides TypeDeclIsValueType.) | |
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.) | |
MemberDecls |
The EnumMemberDecl grandchildren of the EnumDecl (from the MultiEnumMemberDecl child object).
| |
Modifiers |
Optional Modifiers for the type.
(Inherited from TypeDecl.) | |
MultiEnumMemberDecl |
The child MultiEnumMemberDecl object that in turn holds all of the EnumMemberDecls.
| |
Name |
The name of the TypeDecl.
(Inherited from TypeDecl.) | |
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from TypeDecl.) | |
Parent |
The parent CodeObject.
(Inherited from TypeDecl.) | |
ParentProject | (Inherited from TypeDecl.) | |
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.) | |
StartColumnNumber |
The starting column number of any modifier if parsed from or written to text form.
(Inherited from TypeDecl.) | |
StartLineNumber |
The starting line number of any modifier if parsed from or written to text form.
(Inherited from TypeDecl.) | |
Terminator |
The terminator character for the Statement.
(Inherited from Statement.) | |
TypeParameterCount |
The number of TypeParameters the type has.
(Inherited from TypeDecl.) | |
TypeParameters |
A collection of optional TypeParameters (for generic types).
(Inherited from TypeDecl.) | |
UnderlyingType |
The underlying type of the enum (will never be null - defaults to 'int').
|