public class DuelParser extends Object
| Constructor and Description |
|---|
DuelParser() |
| Modifier and Type | Method and Description |
|---|---|
static ElementNode |
createElement(String tagName,
int index,
int line,
int column)
ElementNode factory method
|
List<VIEWCommandNode> |
parse(DuelToken... tokenSequence)
Parses token sequence into AST
|
List<VIEWCommandNode> |
parse(Iterable<DuelToken> tokenSequence)
Parses token sequence into AST
|
List<VIEWCommandNode> |
parse(Iterator<DuelToken> tokenSequence)
Parses token sequence into AST
|
public List<VIEWCommandNode> parse(DuelToken... tokenSequence) throws Exception
tokenSequence - Exceptionpublic List<VIEWCommandNode> parse(Iterable<DuelToken> tokenSequence) throws Exception
tokenSequence - Exceptionpublic List<VIEWCommandNode> parse(Iterator<DuelToken> tokenSequence) throws IOException
tokenSequence - IOExceptionpublic static ElementNode createElement(String tagName, int index, int line, int column)
tagName - index - line - column - Copyright © 2014. All rights reserved.