sealed class
|
EnumItem
|
extends
|
ConfigItem
|
||
implements
|
IComparable<EnumItem>
|
||||
IEquatable<EnumItem>
|
Returns the documentation of this config item.
public
property
|
Documentation
{
get
}
|
||
type
|
IMemberDocNode
|
||
value
|
The
documentation
or
null
if
not
found. |
||
inherited
|
ConfigItem.Documentation
|
Returns the config type that contains this item.
public
property
|
EnclosingConfigType
{
get
}
|
||
type
|
ConfigType
|
||
value
|
The
owning
config
type
or
null . |
||
inherited
|
ConfigItem.EnclosingConfigType
|
The config item name.
public
property
|
Name
{
get
}
|
||
type
|
string
|
||
value
|
|
The item name. | |
inherited
|
ConfigItem.Name
|
Returns source code range of this object.
public
property
|
Range
{
get
}
|
||
type
|
RangeI
|
||
value
|
The source code character range or Inv if none. | ||
inherited
|
ConfigNode.Range
|
The enum item tag.
public
property
|
Tag
{
get
}
|
||
type
|
string
|
||
value
|
The
tag
value
or
null . |
The value type of this member.
public
override
property
|
Type
{
get
}
|
||
type
|
ConfigType
|
||
value
|
|
The member type. | |
overrides
|
ConfigItem.Type
|
Clears the source code range.
public
method
|
ClearRange
()
|
||
inherited
|
ConfigNode.ClearRange
|
See also:
ConfigNode.RangeCompares this object with the given one.
[Pure]
|
||||
public
method
|
CompareTo
(EnumItem other)
|
|||
type
|
int32
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
<
0
:
if
this
object
is
less
than
other, = 0 : if this object is equal to other, > 0 : if this object is greater than other. |
|||
implements
|
IComparable.CompareTo
|
Compares this object with the given one.
[Pure]
|
||||
public
method
|
Equals
(EnumItem other)
|
|||
type
|
bool
|
|||
params
|
other
|
The object to compare to. | ||
returns
|
true
if
this
object
is
equal
to
other,
false
if
not.
|
|||
implements
|
IEquatable.Equals
|
Finds all config nodes which code range (see Range) intersects with the given range (see Intersects).
public
override
method
|
FindAt
(RangeI range,
ICollector<ConfigNode> nodes)
|
||
params
|
range
|
The code range to intersect with. | |
nodes
|
[not-null]
|
The output nodes. | |
inherited
|
ConfigItem.FindAt
|
Resolves all references in this PSI node.
public
override
method
|
Resolve
()
|
||
type
|
ResolveResult
|
||
returns
|
The result of the resolver cycle. | ||
overrides
|
ConfigItem.Resolve
|
Provides additional information about the parsing process.
public
method
|
SetParseInfo
(RangeI range)
|
||
params
|
range
|
The source code range. | |
inherited
|
ConfigNode.SetParseInfo
|
[Pure]
|
||||
public
override
method
|
ToString
()
|
|||
type
|
string
|
|||
inherited
|
ConfigNode.ToString
|
Validates the state of this object.
public
override
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
implements
|
ConfigNode.Validate
|
Produces source code by feeding the given source code writer.
public
override
method
|
WriteSourceCode
(SourceCodeWriter writer,
Context context)
|
||
params
|
writer
|
[not-null]
|
The source code writer to use. |
context
|
[not-null]
|
Context information. | |
implements
|
ConfigNode.WriteSourceCode
|