Package lupos.rif.generated.parser

Examples of lupos.rif.generated.parser.RIFParser$JJCalls


  public VisualRifGenerator(final String query, final DocumentEditorPane that, final Console console, final JTabbedPane bottomPane, final VisualRifEditor visualRifEditor, final IRuleNode arg){
    this.setVisualRifEditor(visualRifEditor);
    this.setQuery(query);
    this.setDocumentEditorPane(that);

    final RIFParser parser = new RIFParser(new StringReader(query));

    try {

      this.compilationUnit = parser.CompilationUnit();

    } catch (final ParseException e) {
      console.setText(e.getLocalizedMessage());
      bottomPane.setSelectedIndex(1);
    }
View Full Code Here


   * bei lexikalischem Fehler wird ein "LE" vor die Fehlermeldung angehaengt
   */
  @Override
  public String handleException(final String document) {
    try {
      final RIFParser parser = new RIFParser(new StringReader(document));
      parser.CompilationUnit();

      return "NE";

    } catch (final ParseException e1) {
      return "PE " + e1.toString();
View Full Code Here

  public long compileQuery(
      final String query, final IndexScanCreatorInterface indexScanCreator) throws Exception {
    final Date start = new Date();

    final RIFParser parser = new RIFParser(new StringReader(query));
    this.compilationUnit = parser.CompilationUnit();
    this.rifDocument = (Document) this.compilationUnit.accept(new ParseSyntaxTreeVisitor(), null);
    final BuildOperatorGraphRuleVisitor forward = new BuildOperatorGraphRuleVisitor(indexScanCreator);
    final ValidateRuleVisitor valVisitor = new ValidateRuleVisitor();
    final NormalizeRuleVisitor normVisitor = new NormalizeRuleVisitor();
    final SubstituteFunctionCallsVisitor subVisitor = new SubstituteFunctionCallsVisitor();
View Full Code Here

TOP

Related Classes of lupos.rif.generated.parser.RIFParser$JJCalls

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.