Package com.bacoder.parser.java.api

Examples of com.bacoder.parser.java.api.InstanceOf


        return infixExpression;
      }
    }

    if (hasTerminalNode(context, JavaParser.INSTANCEOF)) {
      InstanceOf instanceOf = createNode(context, InstanceOf.class);

      ExpressionContext expressionContext = getChild(context, ExpressionContext.class);
      if (expressionContext != null) {
        instanceOf.setExpression(getAdapter(ExpressionAdapter.class).adapt(expressionContext));
      }

      TypeContext typeContext = getChild(context, TypeContext.class);
      if (typeContext != null) {
        instanceOf.setType(getAdapter(TypeAdapter.class).adapt(typeContext));
      }

      return instanceOf;
    }
View Full Code Here

TOP

Related Classes of com.bacoder.parser.java.api.InstanceOf

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.