Pegmatite::Pattern::DynamicPush
Inherits Pegmatite::Pattern < Pegmatite::DSL::Methods < Reference < Object
Pattern::DynamicPush is used to dynamically push a dynamic match onto the stack, usually for the purposes of dynamically constraining the scope of a pattern.
If the child pattern produces tokens, those tokens will be passed as-is.
Returns the result of the child pattern's parsing.
Constructors
Instance methods
_match(source, offset, state) : MatchResult
Sourcedescription
Sourcedsl_name
Sourceinspect(io)
Source