Modifier and Type | Class and Description |
---|---|
static class |
TokenSequence.TokenSeqIterator |
Constructor and Description |
---|
TokenSequence(String name,
ZPrinter printer) |
Modifier and Type | Method and Description |
---|---|
void |
add(Token t) |
void |
add(TokenSequence seq) |
Dialect |
getDialect() |
int |
getLength()
The sum of all the token length.
|
String |
getName() |
NewlineCategory |
getNewlineCategory() |
int |
getNrOfTokens() |
List<Token> |
getSequence() |
Object |
getSpelling() |
Iterator<Token> |
iterator() |
void |
printTokens() |
String |
spelling() |
String |
toString() |
public Dialect getDialect()
public void printTokens()
public void add(Token t)
public void add(TokenSequence seq)
public int getLength()
public int getNrOfTokens()
public Object getSpelling()
getSpelling
in interface Token
public NewlineCategory getNewlineCategory()
getNewlineCategory
in interface Token
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.