Package com.bacoder.parser.java.api

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


      return scopedExpression;
    }

    TerminalNode superNode = getTerminalNode(context, JavaParser.SUPER);
    if (superNode != null) {
      SuperInvocation superInvocation = createNode(superNode, context, SuperInvocation.class);

      SuperSuffixContext superSuffixContext = getChild(context, SuperSuffixContext.class);
      if (superSuffixContext != null) {
        superInvocation =
            getAdapter(SuperSuffixAdapter.class).adapt(superSuffixContext, superInvocation);
View Full Code Here


  public Invocation adapt(ExplicitGenericInvocationSuffixContext context, List<Type> typeList) {
    TerminalNode firstTerminal = getChild(context, TerminalNode.class);
    if (firstTerminal != null) {
      switch (firstTerminal.getSymbol().getType()) {
      case JavaParser.SUPER: {
        SuperInvocation superInvocation = createNode(context, SuperInvocation.class);
        superInvocation.setTypeArguments(typeList);

        SuperSuffixContext superSuffixContext = getChild(context, SuperSuffixContext.class);
        if (superSuffixContext != null) {
          superInvocation =
              getAdapter(SuperSuffixAdapter.class).adapt(superSuffixContext, superInvocation);
View Full Code Here

TOP

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

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.