Exemplo n.º 1
0
 @Override
 protected org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal
         .InternalExpressionTextParser
     createParser() {
   org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal.InternalExpressionTextParser
       result =
           new org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal
               .InternalExpressionTextParser(null);
   result.setGrammarAccess(grammarAccess);
   return result;
 }
Exemplo n.º 2
0
 @Override
 protected Collection<FollowElement> getFollowElements(
     AbstractInternalContentAssistParser parser) {
   try {
     org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal
             .InternalExpressionTextParser
         typedParser =
             (org.eclipse.sirius.expression.text.ui.contentassist.antlr.internal
                     .InternalExpressionTextParser)
                 parser;
     typedParser.entryRuleSiriusExpressionPackage();
     return typedParser.getFollowElements();
   } catch (RecognitionException ex) {
     throw new RuntimeException(ex);
   }
 }