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
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 |
defC_Code
public String defC_Code
- the code from the definition section.
tailC_Code
public String tailC_Code
- the code from the tail section.
AdditionalGrammarInfo
public AdditionalGrammarInfo()
addCCodeDef
public void addCCodeDef(String cCode)
- Adds the given cCode to the defC_Code field.