abstract class Pegasus::Generated::Tree

Direct Known Subclasses

Defined in:

pegasus/generated/grammar_parser.cr
pegasus/language_def.cr

Instance Method Summary

Instance Method Detail

def flatten(*, value_index : Int32, recursive_name : String, recursive_index : Int32) #

Since currently, * and + operators aren't supported in Pegasus grammars, they tend to be recursively written. This is a utility function to "flatten" a parse tree produced by a recursively written grammar.


[View source]
abstract def table_index #

[View source]