|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.parsing.AbstractParser
com.aptana.ide.editors.unified.parsing.AbstractUnifiedParser
com.aptana.ide.editor.jscomment.parsing.JSCommentParser
public class JSCommentParser
| Field Summary |
|---|
| Fields inherited from class com.aptana.ide.parsing.AbstractParser |
|---|
currentLexeme, EOS |
| Constructor Summary | |
|---|---|
JSCommentParser()
Parses JS comments. |
|
| Method Summary | |
|---|---|
protected void |
advance()
Advance to the next lexeme in the lexeme stream |
protected ITokenList |
createLanguageTokenList()
createLanguageTokenList |
IParseState |
createParseState(IParseState parent)
Create a single parse state for this language. |
void |
initializeLexer()
Perform any initializations on the lexer now that it has been created |
void |
parseAll(IParseNode parentNode)
parseOneStatement |
protected void |
throwParseError(java.lang.String message)
Throw a parse exception |
| Methods inherited from class com.aptana.ide.editors.unified.parsing.AbstractUnifiedParser |
|---|
addLexerGrammar |
| Methods inherited from class com.aptana.ide.parsing.AbstractParser |
|---|
addChildParser, addChildParsers, addGrammars, addLexeme, assertAndAdvance, assertInSet, assertType, changeLanguage, flushCache, getEndingOffset, getLanguage, getLanguageChangeListener, getLexemeList, getLexer, getNextLexemeInLanguage, getParseNodeFactory, getParserForMimeType, getParseState, hasParent, initializeLexers, inSet, isEOS, isType, parse, removeLexeme, setLanguageChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSCommentParser()
throws ParserInitializationException
ParserInitializationException| Method Detail |
|---|
protected void advance()
throws LexerException
advance in class AbstractParserLexerExceptionprotected ITokenList createLanguageTokenList()
AbstractParser
createLanguageTokenList in class AbstractParserAbstractParser.createLanguageTokenList()public IParseState createParseState(IParseState parent)
IParser
createParseState in interface IParsercreateParseState in class AbstractParserAbstractParser.createParseState(com.aptana.ide.parsing.IParseState)
public void initializeLexer()
throws LexerException
AbstractParser
initializeLexer in interface IParserinitializeLexer in class AbstractParserLexerExceptionAbstractParser.initializeLexer()
public void parseAll(IParseNode parentNode)
throws LexerException
AbstractParser
parseAll in interface IParserparseAll in class AbstractParserLexerExceptionAbstractParser.parseAll(com.aptana.ide.parsing.nodes.IParseNode)
protected void throwParseError(java.lang.String message)
throws java.text.ParseException
throwParseError in class AbstractParsermessage - The exception message
java.text.ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||