public abstract class ModelNode extends Object
ContentSpec
objects, when they get rewritten (when their ContentSpec.rewrite()
gets called). These nodes are then used for constructing complete DFA
states for validation.Constructor and Description |
---|
ModelNode() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addFirstPos(BitSet firstPos) |
abstract void |
addLastPos(BitSet firstPos) |
abstract void |
calcFollowPos(BitSet[] followPosSets) |
abstract ModelNode |
cloneModel()
Method that has to create a deep copy of the model, without
sharing any of existing Objects.
|
abstract void |
indexTokens(List<TokenModel> tokens) |
abstract boolean |
isNullable() |
public abstract ModelNode cloneModel()
public abstract boolean isNullable()
public abstract void indexTokens(List<TokenModel> tokens)
public abstract void addFirstPos(BitSet firstPos)
public abstract void addLastPos(BitSet firstPos)
public abstract void calcFollowPos(BitSet[] followPosSets)
Copyright © 2012–2015 FasterXML. All rights reserved.