class

Pegmatite::Pattern::DynamicPop

Inherits Pegmatite::Pattern < Pegmatite::DSL::Methods < Reference < Object

Pattern::DynamicPop is used pop a dynamic match off the stack after matching, such as to mark the end of a dynamic delimiter.

If the child pattern produces tokens, those tokens will be passed as-is.

Returns the result of the child pattern's parsing.

Constructors

new(child : Pattern, label : Symbol)
Source

Instance methods

_match(source, offset, state) : MatchResult
Source
description
Source
dsl_name
Source
inspect(io)
Source