com.caucho.quercus.statement
Class TextStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.TextStatement
Direct Known Subclasses:
ProTextStatement

public class TextStatement
extends Statement

Represents static text in a PHP program.


Field Summary
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
TextStatement(Location location, java.lang.String value)
          Creates the text statement with its string.
 
Method Summary
 Value execute(Env env)
           
protected  java.lang.String getValue()
           
 
Methods inherited from class com.caucho.quercus.statement.Statement
fallThrough, getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextStatement

public TextStatement(Location location,
                     java.lang.String value)
Creates the text statement with its string.

Method Detail

getValue

protected java.lang.String getValue()

execute

public Value execute(Env env)
Specified by:
execute in class Statement