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

class EnumItem in Tinman.Core.Config

sealed class EnumItem extends ConfigItem
  implements IComparable<EnumItem>
  IEquatable<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.
inherited ConfigItem.Documentation

EnclosingConfigType

Returns the config type that contains this item.

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

Name

The config item name.

public property Name { get }
type string
value [not-empty] The item name.
inherited ConfigItem.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

Tag

The enum item tag.

public property Tag { get }
type string
value The tag value or null.

Type

The value type of this member.

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

Public / Methods

ClearRange

Clears the source code range.

public method ClearRange ()
inherited ConfigNode.ClearRange

See also:

ConfigNode.Range

CompareTo

Compares this object with the given one.

[Pure]
public method CompareTo (EnumItem other)
type int32
params other The object to compare to.
returns < 0 : if this object is less than other,
= 0 : if this object is equal to other,
> 0 : if this object is greater than other.
implements IComparable.CompareTo

Equals

Compares this object with the given one.

[Pure]
public method Equals (EnumItem other)
type bool
params other The object to compare to.
returns true if this object is equal to other, false if not.
implements IEquatable.Equals

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.
inherited ConfigItem.FindAt

Resolve

Resolves all references in this PSI node.

public override method Resolve ()
type ResolveResult
returns The result of the resolver cycle.
overrides ConfigItem.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 override method Validate (Validator validator)
params validator [not-null] The validator object.
implements ConfigNode.Validate

WriteSourceCode

Produces source code by feeding the given source code writer.

public override method WriteSourceCode (SourceCodeWriter writer, Context context)
params writer [not-null] The source code writer to use.
  context [not-null] Context information.
implements ConfigNode.WriteSourceCode