예제 #1
0
 public VariableDeclarationSimple(VariableType variableType, UserCreatableID variableName,
                                  Expression1 expression)
 {
     VariableType = variableType;
     VariableName = variableName;
     Expression   = expression;
 }
예제 #2
0
 public FunctionDeclaration(UserCreatableID functionName, ParameterList parameterList, ReturnType returnType,
                            Statements statements)
 {
     FunctionName  = functionName;
     ParameterList = parameterList;
     ReturnType    = returnType;
     Statements    = statements;
 }
예제 #3
0
 public Parameter(VariableType parameterType, UserCreatableID parameterName)
 {
     this.ParameterType = parameterType;
     this.ParameterName = parameterName;
 }
예제 #4
0
 public StructVariableDeclaration(UserCreatableID structName, UserCreatableID variableName)
 {
     StructName   = structName;
     VariableName = variableName;
 }
예제 #5
0
 public Struct(UserCreatableID structName, VariableDeclarationList variableDeclarationList)
 {
     StructName = structName;
     VariableDeclarationList = variableDeclarationList;
 }
예제 #6
0
 public Identifier(UserCreatableID rootId, List <UserCreatableID> nestedIDs)
 {
     RootID    = rootId;
     NestedIDs = nestedIDs;
 }