Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)
|
Menu Refactor
Menu Refactor
This menu gives access to refactoring operations on the grammar.
- : rename the token or rule at the caret location.
- : replace literals with token label. Literals are strings.
- : remove the left recursion of a rule.
- : remove all the left recursion rules in the grammar.
- : extract the selected text into a new rule.
- : reverse operation of extract: insert the rule content at each occurence of its reference in the grammar.
- : convert the quote format of the literals from/to single/double/C-style quote.
|