Home | History | Annotate | Download | only in tool

Lines Matching full:rewrite

232 * output=AST, rewrite=true for tree rewriters broken. nextNode for subtree
388 the necessary elements: @synpredgate, backtrack=true, rewrite=true
618 * Didn't set _last in tree parser for rule ref track stuff (rewrite=true)
622 * Benjamin found another rewrite engine bug.
692 * rewrite=true, output=AST for tree grammar was not working. Altered trees were not
816 * Fixed ANTLR-224; ! or ^ on item in alt with rewrite gave exception
846 no matter what to rewrite trees in tree grammars. added unit test
1017 AST rewrite mode for tree grammars. Should be useful later for .text
1022 rewrite mode to return original tree if no rewrite. Might be useful
1449 * Added heterogeneous tree functionality; rewrite for parser/tree parser
1500 * template group outputFile; changed rewrite arg to rewriteMode.
1502 * added rewrite mode for tree parser build AST.
1527 * Added AST construction for tree parsers including -> rewrite rules.
1528 Rewrite mode (rewrite=true) alters the tree in place rather than
1537 Added replaceChildren() to support tree rewrite mode in tree parsers
1547 Also added method for rewrite mode in tree parsers:
1569 Changed rewrite to a better name: rewriteMode
1581 The rewrite templates are still in AST.stg. I factored out the
1582 node creation so that the same rewrite templates can be used
1593 that the rewrite streams know what kind of elements are inside
1594 during rewrite rule tree construction.
1596 rewrite attribute name change to rewriteMode
1617 tree from old tree; i.e., you get two trees in memory. W/o a rewrite
1667 the rewrite tree stream stuff decided to dup nodes.
1749 tree rewrite rule like -> ^(ID[args] ...).
2042 * tree grammars also can do rewrite=true for output=template.
2044 If you are going to use $text in a tree grammar or do rewrite=true
2049 * You get a warning for tree grammars that do rewrite=true and
2056 output=template and rewrite=true for alt that is not simple
2076 to string at last second. Allows you to rewrite with StringTemplate
2079 * added rewrite option that makes -> template rewrites do replace ops for
2080 TokenRewriteStream input stream. In output=template and rewrite=true mode
2088 after each rewrite so that the input stream is altered. Later refs to
2507 * fixed a place where I was adding syn predicates into rewrite stuff.
2746 * Using AST suffixes or -> rewrite syntax now gives an error w/o a grammar
2751 * didn't warn of ambig ref to $expr in rewrite; fixed.
3028 there is no loop in rewrite rule itself. Need to know context that
3068 * Fixed another bug in tree rewrite stuff where it was checking that elements
3095 * -> ({expr})(a={},...) notation for indirect template rewrite.
3431 * Tree construction rewrite rules are in
3437 The rewrite rules may be elements like ID, expr, $label, {node expr}
3442 any -> rewrite forces auto AST construction off for that alternative