public class TryStmtParser extends StmtParser
STMT_FOLLOW_SET, STMT_START_SET
Constructor and Description |
---|
TryStmtParser(LeolaParser parser) |
Modifier and Type | Method and Description |
---|---|
ASTNode |
parse(Token token)
Parse a statement.
|
eatOptionalStmtEnd, expectedTokens, parseList, parseStmt
expectToken, expectTokenNext, getErrorCount, parse, setLineNumber, throwParseError
currentToken, getEventDispatcher, getExceptionHandler, getScanner, getSource, nextToken, previousToken
public TryStmtParser(LeolaParser parser)
parser
- public ASTNode parse(Token token) throws Exception
StmtParser
parse
in class StmtParser
token
- the initial token.Exception
- if an error occurred.Copyright © 2010–2015. All rights reserved.