public override AbstractNode VisitPredicateCall([NotNull] GiraphParser.PredicateCallContext context) { PredicateCall predicateCall = new PredicateCall(context.Start.Line, context.Start.Column); predicateCall.Name = context.variable().GetText(); if (context.parameters() != null) { foreach (var item in context.parameters().simpleBoolCompOrExp()) { predicateCall.AdoptChildren(Visit(item)); } } return(predicateCall); }