class Pegasus::Language::ZeroOrMoreElement

Overview

An element that is repeated zero or more times.

Defined in:

pegasus/language_def.cr

Instance Method Summary

Instance methods inherited from class Pegasus::Language::RuleElement

==(other : RuleElement) ==, base_element base_element, derives_lambda? derives_lambda?, name : String name

Constructor methods inherited from class Pegasus::Language::RuleElement

new(name : String) new

Instance Method Detail

def derives_lambda? #
Description copied from class Pegasus::Language::RuleElement

Checks if this element derives lambda. This doesm't check if the production rule it represent can derive lambda; rather, it checks if this element has an operator applied to it that makes it do so, like ? or *


[View source]