Package org.eclipse.xtext.parser

Examples of org.eclipse.xtext.parser.ParseResult


  @Override protected IParseResult doParse(String ruleName, CharStream in, NodeModelBuilder builder,
      int initialLookAhead) {
    IParseResult result = super.doParse(ruleName, in, builder, initialLookAhead);
    MiscellaneousPreferences preferences = new MiscellaneousPreferences(storeAccess);
    if (preferences.isGoogleInternal() && isNotProto2(result)) {
      return new ParseResult(new NonProto2Protobuf(), result.getRootNode(), false);
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.parser.ParseResult

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.