net.sf.jse
Class FloatFragment

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

public class FloatFragment
extends LiteralFragment

Float literal fragment

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

Fields inherited from class net.sf.jse.Fragment
out
 
Constructor Summary
FloatFragment(java.lang.Float x)
           
FloatFragment(antlr.Token t)
           
 
Method Summary
 Fragment compileTemplate(int depth)
          Template code generator -- probably should be compileTemplateElement
 java.lang.Object getValue()
          protocol for converting fragments back into Java literals
 
Methods inherited from class net.sf.jse.LiteralFragment
equals, 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, isTerminator, makeToken, makeToken, markMacros, setCurrentLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatFragment

public FloatFragment(java.lang.Float x)

FloatFragment

public FloatFragment(antlr.Token t)
Method Detail

getValue

public java.lang.Object getValue()
Description copied from class: Fragment
protocol for converting fragments back into Java literals
Overrides:
getValue in class LiteralFragment

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)