Constructor
Variable name.
Optional ReadonlyfilterReadonlyidVariable name.
Optional ReadonlyinnerReadonlymaxReadonlyminDetermine 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.
ProtectedbuildProtectedcomputeProtectedmatchRecognize part of the input name.
Iterable of potential matches.
Protected StaticbuildBuild part of an output name.
Iterable of potential constructions.
Protected Staticmatch
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.