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

class ConfigItem in Tinman.Core.Config

abstract class ConfigItem extends ConfigNode
  base of ConfigMember
  EnumItem

Public / Attributes

Documentation

Returns the documentation of this config item.

public property Documentation { get }
type IMemberDocNode
value The documentation or null if not found.

EnclosingConfigType

Returns the config type that contains this item.

public property EnclosingConfigType { get }
type ConfigType
value The owning config type or null.

Name

The config item name.

public property Name { get }
type string
value [not-empty] The item name.

Range

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

Type

The value type of this member.

public virtual property Type { get }
type ConfigType
value [not-null] The member type.

Public / Methods

ClearRange

Clears the source code range.

public method ClearRange ()
inherited ConfigNode.ClearRange

See also:

ConfigNode.Range

FindAt

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.
overrides ConfigNode.FindAt

Resolve

Resolves all references in this PSI node.

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

SetParseInfo

Provides additional information about the parsing process.

public method SetParseInfo (RangeI range)
params range The source code range.
inherited ConfigNode.SetParseInfo

ToString

[Pure]
public override method ToString ()
type string
inherited ConfigNode.ToString

Validate

Validates the state of this object.

public abstract method Validate (Validator validator)
params validator [not-null] The validator object.
inherited ConfigNode.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.
inherited ConfigNode.WriteSourceCode

Protected / Attributes

owner

The object that owns this config member or null.

protected field owner
type object

Remarks:

The following objects can own a ConfigMember:

range

The source code range of this PSI node.

protected field range
type RangeI
inherited ConfigNode.range

type

The type of this config item.

protected field type
type ConfigType

Protected / Constructors

ConfigItem

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.