public final class TokenModel extends ModelNode
Constructor and Description |
---|
TokenModel(PrefixedName elemName) |
Modifier and Type | Method and Description |
---|---|
void |
addFirstPos(BitSet firstPos) |
void |
addLastPos(BitSet lastPos) |
void |
calcFollowPos(BitSet[] followPosSets) |
ModelNode |
cloneModel()
Method that has to create a deep copy of the model, without
sharing any of existing Objects.
|
PrefixedName |
getName() |
static TokenModel |
getNullToken() |
void |
indexTokens(List<TokenModel> tokens) |
boolean |
isNullable() |
String |
toString() |
public TokenModel(PrefixedName elemName)
public static TokenModel getNullToken()
public PrefixedName getName()
public ModelNode cloneModel()
cloneModel
in class ModelNode
public boolean isNullable()
isNullable
in class ModelNode
public void indexTokens(List<TokenModel> tokens)
indexTokens
in class ModelNode
public void addFirstPos(BitSet firstPos)
addFirstPos
in class ModelNode
public void addLastPos(BitSet lastPos)
addLastPos
in class ModelNode
public void calcFollowPos(BitSet[] followPosSets)
calcFollowPos
in class ModelNode
Copyright © 2012–2015 FasterXML. All rights reserved.