public final void mDollarSign() throws RecognitionException { try { int _type = DollarSign; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:35:12: ( '$' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:35:14: '$' { match('$'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "DollarSign"
public final void mRULE_ANY_OTHER() throws RecognitionException { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:57:16: ( . ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:57:18: . { matchAny(); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ANY_OTHER"
@Override protected void initLexer(Lexer lexer, boolean literal, boolean variable) { ((SingleCodetemplateLexer) lexer).initialize(literal, variable); } }
mKEYWORD_12(); mKEYWORD_11(); mKEYWORD_8(); mKEYWORD_9(); mKEYWORD_10(); mKEYWORD_1(); mKEYWORD_2(); mKEYWORD_3(); mKEYWORD_4(); mKEYWORD_5(); mKEYWORD_6(); mKEYWORD_7(); mRULE_ID(); mRULE_STRING(); mRULE_WS();
mTemplates(); mFor(); mDollarSignDollarSign(); mDollarSignLeftCurlyBracket(); mGreaterThanSignGreaterThanSign(); mDollarSign(); mLeftParenthesis(); mRightParenthesis(); mComma(); mFullStop(); mColon(); mRightCurlyBracket(); mRULE_ID(); mRULE_STRING(); mRULE_WS();
recover(mse); throw mse;}
recover(mse); throw mse;}
public final void mKEYWORD_1() throws RecognitionException { try { int _type = KEYWORD_1; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:35:11: ( '$' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:35:13: '$' { match('$'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "KEYWORD_1"
public final void mRULE_ANY_OTHER() throws RecognitionException { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:57:16: ( . ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:57:18: . { matchAny(); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "RULE_ANY_OTHER"
public final void mDollarSignLeftCurlyBracket() throws RecognitionException { try { int _type = DollarSignLeftCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:31:28: ( '${' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:31:30: '${' { match("${"); templateVariable = true; } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "DollarSignLeftCurlyBracket"
public final void mKEYWORD_8() throws RecognitionException { try { int _type = KEYWORD_8; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:29:11: ( '$$' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:29:13: '$$' { match("$$"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "KEYWORD_8"
public final void mDollarSignDollarSign() throws RecognitionException { try { int _type = DollarSignDollarSign; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:29:22: ( '$$' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:29:24: '$$' { match("$$"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "DollarSignDollarSign"
public final void mKEYWORD_9() throws RecognitionException { try { int _type = KEYWORD_9; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:31:11: ( '${' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:31:13: '${' { match("${"); templateVariable = true; } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "KEYWORD_9"
public final void mFor() throws RecognitionException { try { int _type = For; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:27:5: ({...}? => 'for' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:27:7: {...}? => 'for' { if ( !((!literal || templateVariable)) ) { throw new FailedPredicateException(input, "For", "!literal || templateVariable"); } match("for"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "For"
public final void mFullStop() throws RecognitionException { try { int _type = FullStop; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:43:10: ({...}? => '.' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:43:12: {...}? => '.' { if ( !((!literal || templateVariable)) ) { throw new FailedPredicateException(input, "FullStop", "!literal || templateVariable"); } match('.'); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "FullStop"
public final void mTemplates() throws RecognitionException { try { int _type = Templates; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:25:11: ({...}? => 'templates' ) // ../org.eclipse.xtext.ui.codetemplates/src/org/eclipse/xtext/ui/codetemplates/lexer/SingleCodetemplateLexer.g:25:13: {...}? => 'templates' { if ( !((!literal || templateVariable)) ) { throw new FailedPredicateException(input, "Templates", "!literal || templateVariable"); } match("templates"); } state.type = _type; state.channel = _channel; } finally { } } // $ANTLR end "Templates"