Constructor
Variable name.
Optional
Readonly
filterReadonly
idVariable name.
Optional
Readonly
innerReadonly
maxReadonly
minDetermine minimum and maximum match length.
This optimization is used in match for early rejection of input names that are either too short or too long.
Protected
buildProtected
computeProtected
matchRecognize part of the input name.
Iterable of potential matches.
Protected
Static
buildBuild part of an output name.
Iterable of potential constructions.
Protected
Static
match
Match or construct a variable name portion.
Remarks
When matching a name, this pattern extracts a number of name components, and saves the sub-name in variables object in VariablePattern.match return value.
When building a name, this pattern succeeds if the variable is present in VariablePattern.build function argument.