abstract class
|
ConfigItem
|
extends
|
ConfigNode
|
||
base of
|
ConfigMember
|
||||
EnumItem
|
Returns the documentation of this config item.
public
property
|
Documentation
{
get
}
|
||
type
|
IMemberDocNode
|
||
value
|
The
documentation
or
null
if
not
found. |
Returns the config type that contains this item.
public
property
|
EnclosingConfigType
{
get
}
|
||
type
|
ConfigType
|
||
value
|
The
owning
config
type
or
null . |
The config item name.
public
property
|
Name
{
get
}
|
||
type
|
string
|
||
value
|
|
The item 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 value type of this member.
public
virtual
property
|
Type
{
get
}
|
||
type
|
ConfigType
|
||
value
|
|
The member type. |
Clears the source code range.
public
method
|
ClearRange
()
|
||
inherited
|
ConfigNode.ClearRange
|
See also:
ConfigNode.RangeFinds 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. | |
overrides
|
ConfigNode.FindAt
|
Resolves all references in this PSI node.
public
override
method
|
Resolve
()
|
||
type
|
ResolveResult
|
||
returns
|
The result of the resolver cycle. | ||
implements
|
ConfigNode.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
abstract
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
inherited
|
ConfigNode.Validate
|
Produces source code by feeding the given source code writer.
public
abstract
method
|
WriteSourceCode
(SourceCodeWriter writer,
Context context)
|
||
params
|
writer
|
[not-null]
|
The source code writer to use. |
context
|
[not-null]
|
Context information. | |
inherited
|
ConfigNode.WriteSourceCode
|
The
object
that
owns
this
config
member
or
null
.
protected
field
|
owner
|
||
type
|
object
|
Remarks:
The following objects can own a ConfigMember:
The source code range of this PSI node.
protected
field
|
range
|
||
type
|
RangeI
|
||
inherited
|
ConfigNode.range
|
The type of this config item.
protected
field
|
type
|
||
type
|
ConfigType
|
Creates a new instance of ConfigItem.
protected
constructor
|
ConfigItem
(string name,
ConfigType type,
RangeI typeRange)
|
||
params
|
name
|
[not-null]
|
The config item name. |
type
|
The
config
type
or
null
if
the
type
will
be
resolved
later.
|
||
typeRange
|
The source code range of the config item. |