1 29 30 package com.caucho.quercus.expr; 31 32 import com.caucho.quercus.program.StatementHandle; 33 34 37 public class ExprHandle { 38 public static final ExprHandle NULL = new ExprHandle(); 39 40 private final StatementHandle _statement; 41 42 private Expr _expr; 43 44 public ExprHandle(StatementHandle statement) 45 { 46 _statement = statement; 47 } 48 49 private ExprHandle() 50 { 51 _statement = StatementHandle.NULL; 52 } 53 54 57 public void setExpr(Expr expr) 58 { 59 _expr = expr; 60 } 61 62 65 public Expr getExpr() 66 { 67 return _expr; 68 } 69 70 73 public StatementHandle getStatement() 74 { 75 return _statement; 76 } 77 } 78 79 | Popular Tags |