Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/grkek/duktape.cr

    Types

    • Duktape
      • API
        • Buffer
        • Call
        • Coercion
        • Compile
        • Conversion
        • Debug
        • ErrorHandling
        • Eval
        • Get
        • Heap
        • Math
        • Object
        • Opt
        • Pop
        • Prop
        • Push
        • Require
        • Stack
        • Strings
        • Thread
        • Time
        • Type
      • BuiltIn
        • Alert
        • Base
        • Console
        • Print
      • Context
      • Error
      • EvalError
      • FileError
      • HeapError
      • InternalError
      • JSPrimitive
      • Log
      • RangeError
      • ReferenceError
      • Runtime
      • Sandbox
      • StackError
      • Support
        • File
        • Time
      • SyntaxError
      • TypeError
      • URIError
      • VERSION
    class

    Duktape::Context

    Inherits Duktape::API::Type < Duktape::API::Time < Duktape::API::Thread < Duktape::API::Strings < Duktape::API::Stack < Duktape::API::Require < Duktape::API::Push < Duktape::API::Prop < Duktape::API::Pop < Duktape::API::Opt < Duktape::API::Object < Duktape::API::Math < Duktape::API::Heap < Duktape::API::Get < Duktape::API::Eval < Duktape::Support::File < Duktape::API::ErrorHandling < Duktape::API::Debug < Duktape::API::Conversion < Duktape::API::Compile < Duktape::Support::File < Duktape::API::Coercion < Duktape::API::Call < Duktape::API::Buffer < Reference < Object

    Constructors

    new(context : LibDUK::Context)
    Source
    new
    Source

    Instance methods

    ctx
    Source
    destroy_heap!
    Source
    finalize
    Source
    heap_destroyed?
    Source
    raw
    Source
    sandbox?
    Source
    should_gc?
    Source
    timeout
    Source
    timeout?
    Source

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal LanguageStatsSponsor

    The Bushido Collective builds and maintains this site.
    Licensed under the Apache License 2.0