Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


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 ;)

Search



Menu Refactor

Menu Refactor

This menu gives access to refactoring operations on the grammar.

  • Rename: rename the token or rule at the caret location.
  • Replace Literals With Token Label: replace literals with token label. Literals are strings.
  • Remove Left Recursion: remove the left recursion of a rule.
  • Remove All Left Recursion: remove all the left recursion rules in the grammar.
  • Extract Rule: extract the selected text into a new rule.
  • Inline Rule: reverse operation of extract: insert the rule content at each occurence of its reference in the grammar.
  • Convert Literals: convert the quote format of the literals from/to single/double/C-style quote.