pegged.tester.testerparser

This module was automatically generated from the following grammar:

More...

Public Imports

pegged.peg
public import pegged.peg;
Undocumented in source.

Members

Aliases

TesterGrammar
alias TesterGrammar = GenericTesterGrammar!(ParseTree).TesterGrammar
Undocumented in source.

Structs

GenericTesterGrammar
struct GenericTesterGrammar(TParseTree)
Undocumented in source.

Detailed Description

TesterGrammar:

Root < Node eoi

Node < / :'^' identifier / identifier (%Branch)*

Branch < / OrderedBranch / UnorderedBranch

OrderedBranch < / :'->' :'{' Node+ :'}' / :'->' Node

UnorderedBranch < / :'~>' :'{' Node+ :'}' / :'~>' Node

Spacing <: (blank / Comment)*

Comment <- / '//' (!eol .)* (eol) / '/*' (!'*/' .)* '*/' / NestedComment

NestedComment <- '/+' (!NestedCommentEnd . / NestedComment) NestedCommentEnd

# This is needed to make the /+ +/ nest when the grammar is placed into a D nested comment ;) NestedCommentEnd <- '+/'

Meta