torero.model
Class AdditionalGrammarInfo

java.lang.Object
  |
  +--torero.model.AdditionalGrammarInfo
All Implemented Interfaces:
Serializable

public class AdditionalGrammarInfo
extends Object
implements Serializable

This class keeps the c-code (between %{ and %} and in the tail) read by the parser when importing yacc files.

See Also:
Serialized Form

Field Summary
 String defC_Code
          the code from the definition section.
 String tailC_Code
          the code from the tail section.
 
Constructor Summary
AdditionalGrammarInfo()
           
 
Method Summary
 void addCCodeDef(String cCode)
          Adds the given cCode to the defC_Code field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defC_Code

public String defC_Code
the code from the definition section.

tailC_Code

public String tailC_Code
the code from the tail section.
Constructor Detail

AdditionalGrammarInfo

public AdditionalGrammarInfo()
Method Detail

addCCodeDef

public void addCCodeDef(String cCode)
Adds the given cCode to the defC_Code field.