Package com.bacoder.parser.java.api

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


    super(adapters);
  }

  @Override
  public NameValuePair adapt(ElementValuePairContext context) {
    NameValuePair values = createNode(context);

    TerminalNode identifierNode = getTerminalNode(context, JavaParser.Identifier);
    if (identifierNode != null) {
      values.setName(getAdapter(IdentifierAdapter.class).adapt(identifierNode));
    }

    ElementValueContext elementValueContext = getChild(context, ElementValueContext.class);
    if (elementValueContext != null) {
      values.setValue(getAdapter(ElementValueAdapter.class).adapt(elementValueContext));
    }

    return values;
  }
View Full Code Here

TOP

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

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.