Ejemplo n.º 1
0
 public ForStatement(Token forToken, Ident iterator, Token assignToken, ForRange range,
                     Token doToken, Statement statement)
     : base(AstNodeType.ForStatement)
 {
     ForToken    = forToken;
     Iterator    = iterator;
     AssignToken = assignToken;
     Range       = range;
     DoToken     = doToken;
     Statement   = statement;
 }
Ejemplo n.º 2
0
 public WriteFunctionCall(Ident funcIdent, List <Expression> paramList, bool ln = false) : base(funcIdent,
                                                                                                paramList)
 {
     Ln = ln;
 }
Ejemplo n.º 3
0
 public UserFunctionCall(Ident funcIdent, List <Expression> paramList) : base(funcIdent, paramList)
 {
 }
Ejemplo n.º 4
0
 protected FunctionCall(Ident funcIdent, List <Expression> paramList) : base(AstNodeType.FunctionCall,
                                                                             funcIdent.Token)
 {
     Ident     = funcIdent;
     ParamList = paramList;
 }
Ejemplo n.º 5
0
 public RecordAccess(Expression recordIdent, Ident fieldToAccess) : base(AstNodeType.RecordAccess)
 {
     RecordIdent   = recordIdent;
     FieldToAccess = fieldToAccess;
 }