TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class ConfigNode in Tinman.Core.Config

Abstract base class for all config script PSI nodes.

abstract class ConfigNode implements ICodeOutput
  IPsiNode
  base of ConfigExpression
  ConfigItem
  ConfigScript
  ConfigType

Public / Attributes

Range

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

Public / Methods

ClearRange

Clears the source code range.

public method ClearRange ()

See also:

Range

FindAt

Finds 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.

ForName

public static method ForName (string name)
type ConfigNode
params name

Resolve

Resolves all references in this PSI node.

public abstract method Resolve ()
type ResolveResult
returns The result of the resolver cycle.
implements IPsiNode.Resolve

SetParseInfo

Provides additional information about the parsing process.

public method SetParseInfo (RangeI range)
params range The source code range.
implements IPsiNode.SetParseInfo

ToString

[Pure]
public override method ToString ()
type string

Validate

Validates the state of this object.

public abstract method Validate (Validator validator)
params validator [not-null] The validator object.
implements IValidatable.Validate

WriteSourceCode

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

Protected / Attributes

range

The source code range of this PSI node.

protected field range
type RangeI

Protected / Constructors

ConfigNode

protected constructor ConfigNode ()