|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.expr.ExprGenerator
com.caucho.quercus.expr.AbstractMethodGenerator
public abstract class AbstractMethodGenerator
Represents a PHP function expression.
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.expr.ExprGenerator |
|---|
COMPILE_ARG_MAX |
| Constructor Summary | |
|---|---|
protected |
AbstractMethodGenerator(Location loc)
|
| Method Summary | |
|---|---|
ExprType |
analyzeArgs(AnalyzeInfo info,
Expr[] args)
Analyzes the function. |
void |
generate(PhpWriter out)
Generates code to evaluate the expression. |
protected void |
generateArgs(PhpWriter out,
Expr[] args)
|
void |
generateCopy(PhpWriter out)
Generates code to recreate the expression. |
protected abstract void |
generateImpl(PhpWriter out,
boolean isRef)
Generates code to evaluate; |
void |
generateRef(PhpWriter out)
Generates code for a reference. |
void |
generateValue(PhpWriter out)
Generates code to evaluate the expression. |
void |
generateVar(PhpWriter out)
Generates code for a reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractMethodGenerator(Location loc)
| Method Detail |
|---|
public ExprType analyzeArgs(AnalyzeInfo info,
Expr[] args)
public void generate(PhpWriter out)
throws java.io.IOException
ExprGenerator
generate in class ExprGeneratorout - the writer to the Java source code.
java.io.IOException
public void generateRef(PhpWriter out)
throws java.io.IOException
ExprGenerator
generateRef in class ExprGeneratorout - the writer to the Java source code.
java.io.IOException
public void generateVar(PhpWriter out)
throws java.io.IOException
ExprGenerator
generateVar in class ExprGeneratorout - the writer to the Java source code.
java.io.IOException
public void generateCopy(PhpWriter out)
throws java.io.IOException
ExprGenerator
generateCopy in class ExprGeneratorout - the writer to the Java source code.
java.io.IOException
public void generateValue(PhpWriter out)
throws java.io.IOException
generateValue in class ExprGeneratorout - the writer to the Java source code.
java.io.IOException
protected abstract void generateImpl(PhpWriter out,
boolean isRef)
throws java.io.IOException
out - the writer to the Java source code.
java.io.IOException
protected void generateArgs(PhpWriter out,
Expr[] args)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||