net.sf.parser4j.generator.service
Class StatementToGrammarNode

java.lang.Object
  extended by net.sf.parser4j.generator.service.StatementToGrammarNode

public final class StatementToGrammarNode
extends java.lang.Object

Author:
luc peuvrier

Method Summary
 IGrammarNode create(StatementDef statementDef, NonTerminalMap nonTerminalMap)
          create IGrammarNode from StatementDef
for StatementDef of type EnumStatementDefType.NON_TERMINAL witch for match manager class name is not defined will create a null IGrammarNode
static StatementToGrammarNode getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StatementToGrammarNode getInstance()

create

public IGrammarNode create(StatementDef statementDef,
                           NonTerminalMap nonTerminalMap)
                    throws GeneratorException
create IGrammarNode from StatementDef
for StatementDef of type EnumStatementDefType.NON_TERMINAL witch for match manager class name is not defined will create a null IGrammarNode

Parameters:
statementDef - source
nonTerminalMap - to update with non terminal defined by StatementDef
intermediate -
Returns:
grammar node from StatementDef
Throws:
GeneratorException


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.