Interface ValueCompiler

All Known Implementing Classes:
IndyValueCompiler, NormalValueCompiler

public interface ValueCompiler
  • Method Details

    • pushRuntime

      void pushRuntime()
      Push the JRuby runtime on the stack. Stack required: none
    • pushObjectClass

      void pushObjectClass()
      Push the Object class on the stack. Stack required: none
    • pushUndefined

      void pushUndefined()
      Push the UNDEFINED constant on the stack. Stack required: none
    • pushFixnum

      void pushFixnum(long l)
      Stack required: none
      Parameters:
      l - long value to push as a Fixnum
    • pushFloat

      void pushFloat(double d)
      Stack required: none
      Parameters:
      d - double value to push as a Float
    • pushString

      void pushString(ByteList bl, int cr)
      Stack required: none
      Parameters:
      bl - ByteList for the String to push
    • pushFrozenString

      void pushFrozenString(ByteList bl, int cr, String path, int line)
      Stack required: none
      Parameters:
      bl - ByteList for the String to push
    • pushByteList

      void pushByteList(ByteList bl)
      Stack required: none
      Parameters:
      bl - ByteList to push
    • pushRegexp

      void pushRegexp(ByteList source, int options)
      Build and save a literal regular expression.

      Stack required: none

      Parameters:
      options - options for the regexp
    • pushSymbol

      void pushSymbol(ByteList bytes)
      Push a symbol on the stack. Stack required: none
      Parameters:
      bytes - the ByteList for the symbol
    • pushSymbolProc

      void pushSymbolProc(ByteList bytes)
      Push a Symbol.to_proc on the stack. Stack required: none
      Parameters:
      bytes - the ByteList for the symbol
    • pushEncoding

      void pushEncoding(org.jcodings.Encoding encoding)
      Push an encoding on the stack. Stack required: none
      Parameters:
      encoding - the encoding to push
    • pushNil

      void pushNil()
      Load nil onto the stack. Stack required: none
    • pushBoolean

      void pushBoolean(boolean b)
      Load a boolean onto the stack. Stack required: none
      Parameters:
      b - the boolean to push
    • pushBignum

      void pushBignum(BigInteger bigint)
      Load a Bignum onto the stack. Stack required: none
      Parameters:
      bigint - the value of the Bignum to push
    • pushCallSite

      void pushCallSite(String className, String siteName, String scopeFieldName, CallBase call)
      Load a CallSite onto the stack
    • pushConstantLookupSite

      void pushConstantLookupSite(String className, String siteName, ByteList name)
      Load a ConstantLookupSite onto the stack
    • pushEmptyString

      void pushEmptyString(org.jcodings.Encoding encoding)
      Push a new empty string on the stack Stack required: none