net.sf.jse
Class CompoundFragment
java.lang.Object
|
+--net.sf.jse.Fragment
|
+--net.sf.jse.CompoundFragment
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- net.sf.jse.CompoundMacroFragment, Expansion, MacroCall, NestedFragment, SequenceFragment
- public abstract class CompoundFragment
- extends Fragment
- implements java.lang.Cloneable
Fragment with multiple inside fragments
- Version:
- 0.9, 03OCT00
- Author:
- Jonathan Bachrach, Keith Playford
Methods inherited from class net.sf.jse.Fragment |
capitalize, compilePatternElement, compileQuestionExpression, die, expandMacros, expandTemplates, generatePatternCode, getChar, getCurrentLine, getFloat, getInsideFragments, getInt, getLine, getString, getValue, isTerminator, makeToken, makeToken, markMacros, setCurrentLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompoundFragment
public CompoundFragment()
setInsideFragments
public abstract void setInsideFragments(FragmentList fragments)
collectBoundVariables
public FragmentList collectBoundVariables()
- Overrides:
collectBoundVariables
in class Fragment
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compileNestedTemplate
public Fragment compileNestedTemplate(int depth,
java.lang.String generatorName)
compileTemplate
public Fragment compileTemplate(int depth)
- Description copied from class:
Fragment
- Template code generator -- probably should be compileTemplateElement
- Overrides:
compileTemplate
in class Fragment
- Following copied from class:
net.sf.jse.Fragment
- See Also:
Template.compileTemplate(int)
tokens
public List tokens()
- Overrides:
tokens
in class Fragment