Beispiel #1
0
        private StatementsNodeVar2 Visit(StatementsNodeVar2 node)
        {
            dynamic props = new ExpandoObject();

            properties.Add(node, props);
            var code = new List <CodeEntry>();

            props.code = code;
            code.AddRange(properties[node.StatementsNode].code);
            code.AddRange(properties[node.StatementNode].code);
            return(node);
        }
Beispiel #2
0
 private StatementsNodeVar2 Visit(StatementsNodeVar2 node)
 {
     Visit(node.StatementsNode);
     Visit(node.StatementNode);
     return(node);
 }
Beispiel #3
0
 private StatementsNodeVar2 Visit(StatementsNodeVar2 node)
 {
     node.StatementsNode.Visit(this);
     node.StatementNode.Visit(this);
     return(node);
 }