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

Private / Attributes

HasBegun

The balance between calls to Begin and End greater than zero?

[Internal]
public property HasBegun { get }
type bool
value true if the balance is greater than zero,
false if it is not.

Private / Methods

Begin

[Internal]
public method Begin ()

End

[Internal]
public method End ()

Protected / Attributes

range

The source code range of this PSI node.

protected field range
type RangeI

Protected / Constructors

ConfigNode

protected constructor ConfigNode ()

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) contains the given range (see Contains).

public virtual method FindAt (RangeI range, ICollector<ConfigNode> nodes)
params range The code range to intersect with.
  nodes [not-null] The output nodes.

ForName

Returns the config node that corresponds to the given name.

public static method ForName (string name)
type ConfigNode
params name The config node name.
returns The found config node as an instance of one of the following types: or null if not found.

Resolve

Resolves all references in this PSI node.

public abstract method Resolve ()
type ResolveResult
returns The result of the resolver cycle.
overrides 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.
overrides 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.
overrides ICodeOutput.WriteSourceCode

Exceptions: