Пример #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();
 }