Example #1
0
 public IfNode(
     IList <KeyValuePair <ExpressionNode, RedILNode> > ifs,
     RedILNode ifElse)
     : base(RedILNodeType.If)
 {
     Ifs    = ifs;
     IfElse = ifElse;
 }
Example #2
0
 public RootNode(RedILNode body = null)
     : base(RedILNodeType.Root)
 {
     GlobalVariables = new List <VariableDeclareNode>();
     Body            = body;
 }