Package org.rascalmpl.interpreter.staticErrors

Examples of org.rascalmpl.interpreter.staticErrors.UninitializedVariable


      case Default:
      case IsDefined:
        __eval.__getEnv().storeVariable(qname, __eval.__getValue());
        return __eval.__getValue();
      default:
        throw new UninitializedVariable(Names.fullName(qname), this);
      }

      // TODO implement semantics of global keyword, when not given the
      // variable should be inserted in the local scope.
View Full Code Here


         
          if (tmp == null) {
            throw new UndeclaredVariable(Names.fullName(var), var);
          }
          if (tmp.getValue() == null) {
            throw new UninitializedVariable(Names.fullName(var),
                var);
          }
          currentValue[i] = tmp.getValue();
        }
View Full Code Here

    switch(this.__getOperator()){
      case Default:
      case IsDefined:
        return rhsValue;
      default:
        throw new UninitializedVariable("assignment operator", this.__getEval().getCurrentAST());
    }
  }
View Full Code Here

    switch(this.__getOperator()){
    case Default:
    case IsDefined:
        return rhsValue;
    default:
      throw new UninitializedVariable("assignment operator", this.__getEval().getCurrentAST());
    }
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.staticErrors.UninitializedVariable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.