Abstract base class for all config script PSI nodes.
abstract class
|
ConfigNode
|
implements
|
ICodeOutput
|
||
IPsiNode
|
|||||
base of
|
ConfigExpression
|
||||
ConfigItem
|
|||||
ConfigScript
|
|||||
ConfigType
|
Returns source code range of this object.
public
property
|
Range
{
get
}
|
||
type
|
RangeI
|
||
value
|
The source code character range or Inv if none. | ||
implements
|
ICodeRange.Range
|
Clears the source code range.
public
method
|
ClearRange
()
|
See also:
RangeFinds all config nodes which code range (see Range) intersects with the given range (see Intersects).
public
virtual
method
|
FindAt
(RangeI range,
ICollector<ConfigNode> nodes)
|
||
params
|
range
|
The code range to intersect with. | |
nodes
|
[not-null]
|
The output nodes. |
public
static
method
|
ForName
(string name)
|
||
type
|
ConfigNode
|
||
params
|
name
|
Resolves all references in this PSI node.
public
abstract
method
|
Resolve
()
|
||
type
|
ResolveResult
|
||
returns
|
The result of the resolver cycle. | ||
implements
|
IPsiNode.Resolve
|
Provides additional information about the parsing process.
public
method
|
SetParseInfo
(RangeI range)
|
||
params
|
range
|
The source code range. | |
implements
|
IPsiNode.SetParseInfo
|
[Pure]
|
||||
public
override
method
|
ToString
()
|
|||
type
|
string
|
Validates the state of this object.
public
abstract
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
implements
|
IValidatable.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. | |
implements
|
ICodeOutput.WriteSourceCode
|
The source code range of this PSI node.
protected
field
|
range
|
||
type
|
RangeI
|
protected
constructor
|
ConfigNode
()
|