Exemple #1
0
 public override void PostWalk(AndExpression node)
 {
     PostWalkWorker(node);
 }
Exemple #2
0
        // and_test: not_test ('and' not_test)*
        private Expression ParseAndTest()
        {
            Expression ret = ParseNotTest();
            while (MaybeEat(TokenKind.KeywordAnd)) {
                string proceeding = _tokenWhiteSpace;

                var start = ret.StartIndex;
                ret = new AndExpression(ret, ParseAndTest());
                if (_verbatim) {
                    AddPreceedingWhiteSpace(ret, proceeding);
                }
                ret.SetLoc(start, GetEnd());
            }
            return ret;
        }
Exemple #3
0
 // AndExpression
 public override bool Walk(AndExpression node)
 {
     return ShouldWalkWorker(node);
 }