Pegmatite::Pattern::Forward
Inherits Pegmatite::Pattern < Pegmatite::DSL::Methods < Reference < Object
Pattern::Forward is used to create a forward declaration, such as when defining a pattern that will be used recursively with another.
There is no child pattern present at declaration, so one must be added later by calling define exactly once before the pattern is used to parse.
Returns the result of the child pattern's parsing.
Constructors
new
SourceInstance methods
_match(source, offset, state) : MatchResult
Sourcedescription
Sourcedsl_name
Sourceinspect(io)
Source