Class AbstractContentAssistParser
- java.lang.Object
-
- org.eclipse.xtext.ide.editor.contentassist.antlr.BaseContentAssistParser<FollowElement,LookAheadTerminal,AbstractInternalContentAssistParser>
-
- org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser
-
- All Implemented Interfaces:
IContentAssistParser,IPartialEditingContentAssistParser
- Direct Known Subclasses:
AbstractPartialContentAssistParser
public abstract class AbstractContentAssistParser extends BaseContentAssistParser<FollowElement,LookAheadTerminal,AbstractInternalContentAssistParser> implements IContentAssistParser, IPartialEditingContentAssistParser
- Since:
- 2.9
-
-
Constructor Summary
Constructors Constructor Description AbstractContentAssistParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.antlr.runtime.TokenSourcecreateLexer(org.antlr.runtime.CharStream stream)Create a token source for the given input based on the bound lexer.protected abstract AbstractInternalContentAssistParsercreateParser()protected java.util.Collection<FollowElement>getFollowElements(AbstractInternalContentAssistParser parser)-
Methods inherited from class org.eclipse.xtext.ide.editor.contentassist.antlr.BaseContentAssistParser
appendTextToParse, createEofListener, createObservableTokenStream, createTokenSource, createUnorderedGroupHelper, getElementsToParse, getElementsToParse, getElementsToParse, getEntryGrammarElement, getEntryRule, getFollowElements, getFollowElements, getFollowElements, getFollowElements, getFollowElements, getFollowElements, getFollowElements, getFollowElements, getInitialHiddenTokens, getInitializedUnorderedGroupHelper, getReplacement, getRequiredRuleNameComputer, getRequiredRuleNames, getRuleName, getRuleNames, getTextToParse, getUnorderedGroupHelper, ignoreFirstEntrance, initializeFor, setRequiredRuleNameComputer, setTokensFromFollowElement, setUnorderedGroupHelper, unwrapSingleElementGroups
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser
getFollowElements, getFollowElements
-
Methods inherited from interface org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser
initializeFor
-
-
-
-
Method Detail
-
createLexer
protected org.antlr.runtime.TokenSource createLexer(org.antlr.runtime.CharStream stream)
Description copied from class:BaseContentAssistParserCreate a token source for the given input based on the bound lexer.- Specified by:
createLexerin classBaseContentAssistParser<FollowElement,LookAheadTerminal,AbstractInternalContentAssistParser>
-
createParser
protected abstract AbstractInternalContentAssistParser createParser()
- Specified by:
createParserin classBaseContentAssistParser<FollowElement,LookAheadTerminal,AbstractInternalContentAssistParser>
-
getFollowElements
protected java.util.Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser)
- Overrides:
getFollowElementsin classBaseContentAssistParser<FollowElement,LookAheadTerminal,AbstractInternalContentAssistParser>
-
-