Beispiel #1
0
 public AssignTupleNode(TupleVarNode tuple, ExprNode value, LexLocation location)
 {
     Tuple = tuple; Value = value; Location = location;
 }
Beispiel #2
0
 public ArrayElement(ExprNode expr, LexLocation location)
 {
     Expression = expr; Location = location;
 }
Beispiel #3
0
 public DefineTupleNode(List <TypeIDListElementNode> vars, ExprNode value, LexLocation location)
 {
     Variables = vars; TupleValue = value; Location = location;
 }
Beispiel #4
0
 public IndexAccessExpressionNode(ExprNode expr, ExprNode index, LexLocation location)
 {
     Expression = expr; Index = index; Location = location;
 }
Beispiel #5
0
 public LoopNode(ExprNode count, StatNode stat, LexLocation location)
 {
     Count = count; Statement = stat; Location = location;
 }
Beispiel #6
0
 public BinaryExpressionNode(ExprNode left, ExprNode right, string op, LexLocation location)
 {
     Left = left; Right = right; Operator = op; Location = location;
 }
Beispiel #7
0
 public ReturnNode(ExprNode expr, LexLocation location)
 {
     Expression = expr; Location = location;
 }
Beispiel #8
0
 public ExprListElementNode(ExprNode expression, LexLocation location)
 {
     Expression = expression; Location = location;
 }
Beispiel #9
0
 public AssignVarNode(IDNode id, ExprNode expression, LexLocation location)
 {
     ID = id; Expression = expression; Location = location;
 }
Beispiel #10
0
 public PrintNode(ExprNode expr, LexLocation location)
 {
     Expression = expr; Location = location;
 }