net.sf.parser4j.generator.service
Class GrammarDefNodeToTextFile
java.lang.Object
net.sf.parser4j.generator.service.GrammarDefNodeToTextFile
- All Implemented Interfaces:
- IGrammarDefVisitor
public final class GrammarDefNodeToTextFile
- extends java.lang.Object
- implements IGrammarDefVisitor
output grammar definition tree to text file
- Author:
- luc peuvrier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static GrammarDefNodeToTextFile getInstance()
generateTextFile
public void generateTextFile(IGrammarDefNode grammarDefNode,
java.io.File textFile)
throws GrammarDefNodeVisitException
- Throws:
GrammarDefNodeVisitException
generateToString
public java.lang.String generateToString(IGrammarDefNode grammarDefNode)
throws GrammarDefNodeVisitException
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(GrammarDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(GrammarDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RulesGroupListDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RulesGroupListDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RulesDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RulesDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public void beginVisit(RuleDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(RuleDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
beginVisit
public boolean beginVisit(StatementDef def)
throws GrammarDefNodeVisitException
- Specified by:
beginVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
endVisit
public void endVisit(StatementDef def)
throws GrammarDefNodeVisitException
- Specified by:
endVisit
in interface IGrammarDefVisitor
- Throws:
GrammarDefNodeVisitException
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.