示例#1
0
 /** Adds a constant value */
 @Override
 public void addConstant(String name, Expr value) {
   _cl.addConstant(name, value);
 }
示例#2
0
 /** Adds a static value */
 public void addStaticVar(StringValue name, Expr value, String comment) {
   _cl.addStaticValue(name, value, comment);
 }
示例#3
0
 /** Adds a function. */
 @Override
 public void addFunction(String name, Function function, boolean isTop) {
   _cl.addFunction(name, function);
 }
示例#4
0
 /** Adds a value */
 public void addVar(StringValue name, Expr value, FieldVisibility visibility, String comment) {
   _cl.addValue(name, value, visibility, comment);
 }
示例#5
0
 /** Returns true for an abstract scope, e.g. an abstract class or an interface. */
 @Override
 public boolean isAbstract() {
   return _cl.isAbstract() || _cl.isInterface();
 }