Class OverviewRepresents a set of items related to code generation. A sentence contains multiple tokens. Tokens are represented as objects, but you can use any class, value, or structure. The objects' ToString() values are treated as their code. However, a few types are treated as having special meaning: TokenAsyn, TokenName, and TokenSeparator.
public Sentence (GeneratorBase owner, ref Object [] tokens) Description Constructor.
Parameter
owner
Generator that generated the sentence.
tokens
Tokens.
public GeneratorBase Owner {get;} Description Returns the generator that generated the sentence.
public object [] Tokens {get;} Description Returns the sentence's tokens.
public bool Equals (Object obj) Description Tests equality.
Return value
Comparison result.
Parameter
obj
Object to compare against.
public int GetHashCode () Description Returns this object's hash code.
Return value
The hash code.
JR
|
|
|