Home | Download | News | Wiki | About ANTLR | Feedback | Support | Bugs


Latest version is 2.7.7.
Download now! »

Download
» Home
» Download
» News
»Using ANTLR
» Documentation
» Wiki
» FAQ
» Articles
» Grammars
» File Sharing
» Code API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»TML
»PCCTS
»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



Hierarchy


antlr.preprocessor
Class Hierarchy

java.lang.Object
  extended byantlr.preprocessor.Hierarchy

public class Hierarchy
extends java.lang.Object


Constructor Summary
Hierarchy(Tool tool)
           
 
Method Summary
 void addGrammar(antlr.preprocessor.Grammar gr)
           
 void addGrammarFile(GrammarFile gf)
           
 void expandGrammarsInFile(java.lang.String fileName)
           
 antlr.preprocessor.Grammar findRoot(antlr.preprocessor.Grammar g)
           
 GrammarFile getFile(java.lang.String fileName)
           
 antlr.preprocessor.Grammar getGrammar(java.lang.String gr)
           
 Tool getTool()
           
static java.lang.String optionsToString(IndexedVector options)
           
 void readGrammarFile(java.lang.String file)
           
 void setTool(Tool antlrTool)
           
 boolean verifyThatHierarchyIsComplete()
          Return true if hierarchy is complete, false if not
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hierarchy

public Hierarchy(Tool tool)
Method Detail

addGrammar

public void addGrammar(antlr.preprocessor.Grammar gr)

addGrammarFile

public void addGrammarFile(GrammarFile gf)

expandGrammarsInFile

public void expandGrammarsInFile(java.lang.String fileName)

findRoot

public antlr.preprocessor.Grammar findRoot(antlr.preprocessor.Grammar g)

getFile

public GrammarFile getFile(java.lang.String fileName)

getGrammar

public antlr.preprocessor.Grammar getGrammar(java.lang.String gr)

optionsToString

public static java.lang.String optionsToString(IndexedVector options)

readGrammarFile

public void readGrammarFile(java.lang.String file)
                     throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

verifyThatHierarchyIsComplete

public boolean verifyThatHierarchyIsComplete()
Return true if hierarchy is complete, false if not


getTool

public Tool getTool()

setTool

public void setTool(Tool antlrTool)