Tcl Library Source Code

10_notahead at [c1d83bd48d]
Login

File modules/pt/tests/data/ok/peg_container-bulk/10_notahead artifact 77051ab608 part of check-in c1d83bd48d


snit::type a_pe_grammar {
    constructor {} {
        install myg using pt::peg::container ${selfns}::G
        $myg start {n TEST}
        $myg add   TEST
        $myg modes {
            TEST value
        }
        $myg rules {
            TEST {x {! {t a}} {n IDENTIFIER}}
        }
        return
    }

    component myg
    delegate method * to myg
}