Java Code Examples for org.eclipse.xtext.parser.antlr.XtextTokenStream#setInitialHiddenTokens()
The following examples show how to use
org.eclipse.xtext.parser.antlr.XtextTokenStream#setInitialHiddenTokens() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HighlightingParser.java From n4js with Eclipse Public License 1.0 | 5 votes |
private void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens( InternalN4JSParser.tokenNames[InternalN4JSParser.RULE_WS], InternalN4JSParser.tokenNames[InternalN4JSParser.RULE_ML_COMMENT], InternalN4JSParser.tokenNames[InternalN4JSParser.RULE_SL_COMMENT], InternalN4JSParser.tokenNames[InternalN4JSParser.RULE_EOL]); }
Example 2
Source File: Bug299395TestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 3
Source File: ContextFinderTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 4
Source File: ExBeeLangTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 5
Source File: QualifiedNameTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 6
Source File: IndentationAwareUiTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 7
Source File: FowlerDslTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 8
Source File: BuilderTestLanguageParser.java From xtext-extras with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 9
Source File: EncodingUiTestLanguageParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS"); }
Example 10
Source File: UnorderedGroupsTestLanguageParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 11
Source File: InheritanceTest3LanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 12
Source File: TransientValuesTestParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 13
Source File: XbaseWithAnnotationsParser.java From xtext-extras with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 14
Source File: SARLParser.java From sarl with Apache License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 15
Source File: Bug287988TestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 16
Source File: ConcreteTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 17
Source File: QuickfixCrossrefTestLanguageParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }
Example 18
Source File: BacktrackingLexerTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_SL_COMMENT"); }
Example 19
Source File: Bug377311TestLanguageParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_NEWLINE"); }
Example 20
Source File: HiddenTokenSequencerTestLanguageParser.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); }