| Modifier and Type | Field and Description |
|---|---|
| public final IDContextProvider2 | |
| protected final boolean | |
| private static final Datatype[] | |
| public final String | |
| public DatatypeRef | refType
if this field is non-null, this field will receive assigned DataType object. |
| protected final ResidualCalculator | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context, DatatypeRef refType)
|
| public | StringToken(ResidualCalculator resCalc, String literal, IDContextProvider2 context, DatatypeRef refType)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected StringToken | |
| pack-priv boolean | isIgnorable()
checks if this token is ignorable.
|
| public boolean | match(DataExp exp)
Overrides com. |
| public boolean | |
| public boolean | match(ListExp exp)
Overrides com. |
| public boolean | matchAnyString()
returns true if anyString pattern can consume this token
|
| context | back to summary |
|---|---|
| public final IDContextProvider2 context | |
| ignorable | back to summary |
|---|---|
| protected final boolean ignorable | |
| ignoredType | back to summary |
|---|---|
| private static final Datatype[] ignoredType | |
| literal | back to summary |
|---|---|
| public final String literal | |
| refType | back to summary |
|---|---|
| public DatatypeRef refType if this field is non-null, this field will receive assigned DataType object. | |
| resCalc | back to summary |
|---|---|
| protected final ResidualCalculator resCalc | |
| saturated | back to summary |
|---|---|
| protected boolean saturated | |
| StringToken | back to summary |
|---|---|
| public StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context) | |
| StringToken | back to summary |
|---|---|
| public StringToken(REDocumentDeclaration docDecl, String literal, IDContextProvider2 context, DatatypeRef refType) | |
| StringToken | back to summary |
|---|---|
| public StringToken(ResidualCalculator resCalc, String literal, IDContextProvider2 context, DatatypeRef refType) | |
| assignType | back to summary |
|---|---|
| private void assignType(Datatype dt) | |
| createChildStringToken | back to summary |
|---|---|
| protected StringToken createChildStringToken(String literal, DatatypeRef dtRef) | |
| isIgnorable | back to summary |
|---|---|
| pack-priv boolean isIgnorable() Overrides com. checks if this token is ignorable. StringToken is ignorable when it matches [ \t\r\n]* | |
| match | back to summary |
|---|---|
| public boolean match(DataExp exp) Overrides com. DataExp can consume this token if its datatype can accept this string | |
| match | back to summary |
|---|---|
| public boolean match(ValueExp exp) Overrides com. | |
| match | back to summary |
|---|---|
| public boolean match(ListExp exp) Overrides com. ListExp can consume this token if its pattern accepts this string | |
| matchAnyString | back to summary |
|---|---|
| public boolean matchAnyString() Overrides com. Doc from com. returns true if anyString pattern can consume this token | |