Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public CstAsset(CstIdentity identity, string @string, bool expectedResult)
 {
     Identity       = identity;
     String         = @string;
     ExpectedResult = expectedResult;
 }
Esempio n. 3
0
 protected bool Equals(CstIdentity other)
 {
     return(Name == other.Name);
 }
Esempio n. 4
0
 public CstFunctionDefinition(CstIdentity name, IList <CstFuncDefArg> args, IList <CstCoreNode> statements)
 {
     Name       = name;
     Args       = new ReadOnlyCollection <CstFuncDefArg>(args);
     Statements = new ReadOnlyCollection <CstCoreNode>(statements);
 }
Esempio n. 5
0
 public CstFunctionCall(CstIdentity functionName, IList <CstFuncArg> args)
 {
     FunctionName = functionName;
     Args         = new ReadOnlyCollection <CstFuncArg>(args);
 }