public CstDeclaration(CstIdentity identity, IList <CstStateName> states, CstStateName initialStateName, IList <CstStateName> finals, IList <CstTransition> trancitions) { Identity = identity; States = states == null ? null : new ReadOnlyCollection <CstStateName>(states); InitialStateName = initialStateName; Finals = new ReadOnlyCollection <CstStateName>(finals); Trancitions = new ReadOnlyCollection <CstTransition>(trancitions); }
public CstAsset(CstIdentity identity, string @string, bool expectedResult) { Identity = identity; String = @string; ExpectedResult = expectedResult; }
protected bool Equals(CstIdentity other) { return(Name == other.Name); }
public CstFunctionDefinition(CstIdentity name, IList <CstFuncDefArg> args, IList <CstCoreNode> statements) { Name = name; Args = new ReadOnlyCollection <CstFuncDefArg>(args); Statements = new ReadOnlyCollection <CstCoreNode>(statements); }
public CstFunctionCall(CstIdentity functionName, IList <CstFuncArg> args) { FunctionName = functionName; Args = new ReadOnlyCollection <CstFuncArg>(args); }