class Label(Grammar): grammar = (G(b'_("', WORD(b'^"'), b'")') | G(b"_('", WORD(b"^'"), b"')") | Variable)
class InlineEditGrammar(Grammar): grammar = (OR(G(OR(b"field", b"create"), OPTIONAL(Label)), b"search"), b"from", Variable, OPTIONAL(b"for", Variable), OPTIONAL(b"in", Variable), b"withtemplate", Variable, OPTIONAL(b"withhelp", Label)) grammar_whitespace = True
class Variable(Grammar): grammar = (G(b'"', WORD(b'^"'), b'"') | G(b"'", WORD(b"^'"), b"'") | WORD(b"a-zA-Z_", b"a-zA-Z0-9_."))