|
||||||||||
| 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.js.parsing.JSParser
public class JSParser
| Field Summary |
|---|
| Fields inherited from class com.aptana.ide.parsing.AbstractParser |
|---|
currentLexeme, EOS |
| Constructor Summary | |
|---|---|
JSParser()
Create a new instance of JSParser |
|
| Method Summary | |
|---|---|
protected void |
addChildParsers()
addChildParsers |
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. |
protected Lexeme |
getNextLexemeInLanguage()
getNextLexemeInLanguage |
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, addGrammars, addLexeme, assertAndAdvance, assertInSet, assertType, changeLanguage, flushCache, getEndingOffset, getLanguage, getLanguageChangeListener, getLexemeList, getLexer, 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 JSParser()
throws ParserInitializationException
ParserInitializationException| Method Detail |
|---|
protected void addChildParsers()
throws ParserInitializationException
AbstractParser
addChildParsers in class AbstractParserParserInitializationExceptionAbstractParser.addChildParsers()
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)
protected Lexeme getNextLexemeInLanguage()
throws LexerException
AbstractParser
getNextLexemeInLanguage in class AbstractParserLexerExceptionAbstractParser.getNextLexemeInLanguage()
public void initializeLexer()
throws LexerException
AbstractParser
initializeLexer in interface IParserinitializeLexer in class AbstractParserLexerExceptionAbstractParser.initializeLexer()
public void parseAll(IParseNode parentNode)
throws LexerException,
java.text.ParseException
AbstractParser
parseAll in interface IParserparseAll in class AbstractParserLexerException
java.text.ParseExceptionAbstractParser.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 | |||||||||