コード例 #1
0
        public override void ExitCollatePredicate(MiniSqlParserParser.CollatePredicateContext context)
        {
            var comments      = this.GetComments(context);
            var collationName = this.GetIdentifier(context.collation_name().identifier());
            var operand       = (Predicate)_stack.Pop();
            var node          = new CollatePredicate(operand, collationName, comments);

            _stack.Push(node);
        }
コード例 #2
0
 void IVisitor.VisitBefore(CollatePredicate predicate)
 {
     this.ParentExists(predicate);
 }
コード例 #3
0
 void IVisitor.VisitAfter(CollatePredicate predicate)
 {
     this.ParentExists(predicate);
 }