Package weasel.interpreter.bytecode

Examples of weasel.interpreter.bytecode.WeaselInstructionLoadNull


    }else if(constant instanceof String){
      returnType = new WeaselGenericClass(compiler.baseTypes.getStringClass());
      instructionList.add(line, new WeaselInstructionLoadConstString((String)constant));
    }else if(constant==null){
      returnType = null;
      instructionList.add(line, new WeaselInstructionLoadNull());
    }else{
      throw new WeaselCompilerException(line, "Unknow constant %s", constant);
    }
  }
View Full Code Here

TOP

Related Classes of weasel.interpreter.bytecode.WeaselInstructionLoadNull

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.