상속: BooleanExpression
        public void Visit(NodesBooleanExpression expression)
        {
            VisitChild(expression.Left, new CodeDomArg() { Scope = _codeStack.Peek().Scope });
            VisitChild(expression.Right, new CodeDomArg() { Scope = _codeStack.Peek().Scope });

            _codeStack.Peek().CodeExpression = new CodePrimitiveExpression(true);
        }
예제 #2
0
 public void Visit(NodesBooleanExpression expression, CommonTree tree)
 {
     SetLine(expression, tree);
     Parent(tree).Children.Add(expression);
     VisitChildren(tree);
 }