Home
last modified time | relevance | path

Searched refs:key_grammar (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/tools/ldgen/
Dfragments.py39 key_grammar = None # current key grammar variable in FragmentFile.__init__.parse_ctx
46 parse_ctx.key_grammar = None
77 if parse_ctx.key_grammar.min and len(stmts) < parse_ctx.key_grammar.min:
79 (parse_ctx.key_grammar.min, parse_ctx.key))
81 if parse_ctx.key_grammar.max and len(stmts) > parse_ctx.key_grammar.max:
83 (parse_ctx.key_grammar.max, parse_ctx.key))
115 parse_ctx.key_grammar = parse_ctx.fragment.get_key_grammars()[key]
116 key_grammar = parse_ctx.key_grammar.grammar
122 key_stmt << (conditional | Group(key_grammar).setResultsName('value'))