private static class ZbnfSyntaxPrescript.ComplexSyntax extends ZbnfSyntaxPrescript
ZbnfSyntaxPrescript.EType, ZbnfSyntaxPrescript.RepetitionSyntax
Modifier and Type | Field and Description |
---|---|
(package private) int |
nMaxChars
Maximal number of chars representing the item.
|
(package private) java.util.regex.Pattern |
regex
If it is a Regular Expression, the compiled regex is available here.
|
attributes, bAddOuterResults, bAssignIntoNextComponent, bChildSyntaxAreAlternatives, bDebugParsing, bDonotStoreData, bEntryComponentContainer, bOnlyOneEach, bStoreAsString, childSyntaxPrescripts, componentSyntax, eType, lineFile, listStrings, nFloatFactor, nodeIdent, objid, objId_, parent, report, sConstantSyntax, sDefinitionIdent, sIndentChars, sSemantic, sSubSyntax, sSuperItemType, version
Constructor and Description |
---|
ComplexSyntax(ZbnfSyntaxPrescript parent,
LogMessage report,
boolean bWithSyntaxList,
int linefile) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
convertSyntaxComponent(StringPartScan spInput)
Sets the content of the syntax prescript for a Syntax Component
with a string given syntax.
|
childsHasSemantic, convertAssociatedSemantic, convertTheStringGivenSyntax, createWithSyntax, getAttribute, getAttribute, getConstantSyntax, getDefinitionIdent, getFloatFactor, getIndentChars, getListPrescripts, getListStrings, getMaxNrofCharsFromComplexItem, getRegexPatternFromComplexItem, getRepetitionBackwardPrescript, getSemantic, getSemantic, getSubSyntax, getType, hasAlternatives, isAlternative, isPossibleEmptyOption, isResultToAssignIntoNextComponent, isToAddOuterResults, reportContent, stop, throwParseException, toString, writeSyntaxStruct, xxxgetItem, xxxgetRepetitionForwardPrescript, xxxgetSyntaxPrescript
int nMaxChars
java.util.regex.Pattern regex
ComplexSyntax(ZbnfSyntaxPrescript parent, LogMessage report, boolean bWithSyntaxList, int linefile)
void convertSyntaxComponent(StringPartScan spInput) throws java.text.ParseException
\<[<#?maxNrOfChars>] [ #[-|x|X|f|]?nrFormat> | $ | !<*\??regExpression> | *<*\??charsToEndchar> | *""<*\??charsToEndcharButNotInQuotions> | ""<*\??Literal> | <$?otherPrescript> | ] [\?[+|-|][!]<$?semantic>] \>where is
maxNrOfChars | The first digits represent the maximum nr of chararcters in source they are considered on scanning.|
... | ... |
spInput
- syntaxPrescript in textual formjava.text.ParseException