Package lupos.rif.generated.syntaxtree

Examples of lupos.rif.generated.syntaxtree.NodeChoice


  public Object visit(final RIFUniterm n, final IRuleNode argu) {
    final Uniterm term = new RulePredicate(false);
    term.setParent(argu);
    term.termName = (IExpression) n.f0.accept(this, term);
    for (final INode node : (List<INode>) n.f2.accept(this, term)) {
      final NodeChoice choice = (NodeChoice) node;
      if (choice.which == 1)
        term.termParams.add((IExpression) choice.choice.accept(this,
            term));
      else
        term.termParams.add((IExpression) ((List<INode>) choice.choice
View Full Code Here

TOP

Related Classes of lupos.rif.generated.syntaxtree.NodeChoice

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.