예제 #1
0
파일: IfNode.cs 프로젝트: sci4me/Neo-old
 public IfNode(SourcePosition position, ExpressionNode condition, StatementNode @true, StatementNode @false) : base(position)
 {
     Condition = condition;
     True      = @true;
     False     = @false;
 }
예제 #2
0
 public ForIteratorNode(SourcePosition position, IdentNode iterator, ExpressionNode from, StatementNode code) : base(position)
 {
     Iterator = iterator;
     From     = from;
     Code     = code;
 }
예제 #3
0
파일: BlockNode.cs 프로젝트: sci4me/Neo-old
 public void AddStatement(StatementNode statement)
 {
     statements.Add(statement);
 }
예제 #4
0
 public DeferNode(SourcePosition position, StatementNode code) : base(position)
 {
     Code = code;
     ID   = currentID++;
 }
예제 #5
0
파일: WhileNode.cs 프로젝트: sci4me/Neo-old
 public WhileNode(SourcePosition position, ExpressionNode condition, StatementNode code) : base(position)
 {
     Condition = condition;
     Code      = code;
 }
예제 #6
0
 public ForKeyValueIteratorNode(SourcePosition position, IdentNode key, IdentNode value, ExpressionNode from, StatementNode code) : base(position)
 {
     Key   = key;
     Value = value;
     From  = from;
     Code  = code;
 }