public class ChoiceModel extends ModelNode
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ChoiceModel(ModelNode[] subModels)  | 
| 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. 
 | 
void | 
indexTokens(List<TokenModel> tokens)  | 
boolean | 
isNullable()  | 
String | 
toString()  | 
protected ChoiceModel(ModelNode[] subModels)
public ModelNode cloneModel()
cloneModel in class ModelNodepublic boolean isNullable()
isNullable in class ModelNodepublic void indexTokens(List<TokenModel> tokens)
indexTokens in class ModelNodepublic void addFirstPos(BitSet firstPos)
addFirstPos in class ModelNodepublic void addLastPos(BitSet lastPos)
addLastPos in class ModelNodepublic void calcFollowPos(BitSet[] followPosSets)
calcFollowPos in class ModelNodeCopyright © 2018 FasterXML. All rights reserved.