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