class Arborist::ExprCall
- Arborist::ExprCall
- Reference
- Object
Overview
The various ExprCall classes represent invocations, or calls, of the various expression types, at different positions in an input string. The invocations/calls form a call stack, because a PEG parser is by nature a recursive descent parser, and each rule application and the evaluations of the different expressions that make up those rules form a call stack.
Direct Known Subclasses
- Arborist::ApplyCall
- Arborist::ChoiceCall
- Arborist::MutexAltCall
- Arborist::NegLookAheadCall
- Arborist::OptionalCall
- Arborist::PosLookAheadCall
- Arborist::RepetitionCall
- Arborist::RepetitionOnePlusCall
- Arborist::SequenceCall
- Arborist::TerminalCall
Defined in:
arborist.crConstructors
Instance Method Summary
Constructor Detail
def self.new(expr : Arborist::Apply | Arborist::Choice | Arborist::Dot | Arborist::MutexAlt | Arborist::NegLookAhead | Arborist::Optional | Arborist::PosLookAhead | Arborist::Repetition | Arborist::RepetitionOnePlus | Arborist::Sequence | Arborist::Terminal, pos : Int32)
#