Exemplo n.º 1
0
  /** NB! Must be called in correct order! */
  public void addArg(String name, PhantomType type) throws PlcException {
    if (type == null) {
      // Object a = null;        a.getClass();
      throw new PlcException("Method add_arg", "null type of arg", name);
    }

    args_def.add(new ArgDefinition(name, type));
    svars.add_stack_var(new PhantomVariable(name, type));
  }