net.sf.jse
Class QuestionFragment

java.lang.Object
  |
  +--net.sf.jse.Fragment
        |
        +--net.sf.jse.LeafFragment
              |
              +--net.sf.jse.PunctuationFragment
                    |
                    +--net.sf.jse.QuestionFragment
All Implemented Interfaces:
java.lang.Cloneable

public class QuestionFragment
extends PunctuationFragment

A punctuation for question marks

Version:
0.9, 03OCT00
Author:
Jonathan Bachrach, Keith Playford

Fields inherited from class net.sf.jse.Fragment
out
 
Constructor Summary
QuestionFragment()
           
QuestionFragment(antlr.Token t)
           
 
Method Summary
 Fragment compileTemplate(int depth)
          Template code generator -- probably should be compileTemplateElement
 
Methods inherited from class net.sf.jse.PunctuationFragment
compileSpecialTemplate, generatePatternCode, toString
 
Methods inherited from class net.sf.jse.LeafFragment
getInsideFragments, getLine, getText, getToken, tokens
 
Methods inherited from class net.sf.jse.Fragment
capitalize, collectBoundVariables, compilePatternElement, compileQuestionExpression, die, expandMacros, expandTemplates, getChar, getCurrentLine, getFloat, getInt, getString, getValue, isTerminator, makeToken, makeToken, markMacros, setCurrentLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuestionFragment

public QuestionFragment()

QuestionFragment

public QuestionFragment(antlr.Token t)
Method Detail

compileTemplate

public Fragment compileTemplate(int depth)
Description copied from class: Fragment
Template code generator -- probably should be compileTemplateElement
Overrides:
compileTemplate in class PunctuationFragment
Following copied from class: net.sf.jse.Fragment
See Also:
Template.compileTemplate(int)