Skip to content

Instantly share code, notes, and snippets.

@dherman
Last active July 9, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dherman/add90b760549f15cf90b3e249a06f504 to your computer and use it in GitHub Desktop.
Save dherman/add90b760549f15cf90b3e249a06f504 to your computer and use it in GitHub Desktop.
Different candidate decompositions for the Neon library's modules
neon
Context, CallContext, FunctionContext, MethodContext, ComputeContext, ExecuteContext, ModuleContext, TaskContext
CallKind
VmGuard
VmResult, JsResult, JsResultExt, Throw
Borrow, BorrowMut, Ref, RefMut, LoanError
JsArray, JsArrayBuffer, JsBoolean, JsBuffer, JsError, JsFunction, JsNull, JsNumber, JsObject, JsString, JsUndefined, JsValue
Value
BinaryData
StringOverflow, StringResult
ErrorKind
Handle, Managed
DowncastError
Class, Object, PropertyKey
This
register_module!
declare_types!
neon::thread
Task
neon::meta
BUILD_PROFILE
MAJOR, MINOR, PATCH, VERSION
version
neon::cx
Context, CallContext, FunctionContext, MethodContext, ComputeContext, ExecuteContext, ModuleContext, TaskContext
CallKind
Lock
neon::result
NeonResult, ResultExt, Throw
neon::borrow
Borrow, BorrowMut, Ref, RefMut, LoanError
neon::value
JsArray, JsArrayBuffer, JsBoolean, JsBuffer, JsError, JsFunction, JsNull, JsNumber, JsObject, JsString, JsUndefined, JsValue
JsResult
Value
BinaryData
StringOverflow, StringResult
ErrorKind
Handle, Managed
DowncastError
neon::object
Class, Object, PropertyKey
This
neon::thread
Task
neon::meta
BUILD_PROFILE
MAJOR, MINOR, PATCH, VERSION
version
neon
register_module!
declare_types!
neon::vm
Context, CallContext, FunctionContext, MethodContext, ComputeContext, ExecuteContext, ModuleContext, TaskContext
CallKind
VmGuard
VmResult, JsResult, JsResultExt, Throw
neon::js
JsArray, JsArrayBuffer, JsBoolean, JsBuffer, JsError, JsFunction, JsNull, JsNumber, JsObject, JsString, JsUndefined, JsValue
Value
BinaryData
StringOverflow, StringResult
ErrorKind
Handle, Managed
DowncastError
Class, Object, PropertyKey
This
Borrow, BorrowMut, Ref, RefMut, LoanError
neon::thread
Task
neon::meta
BUILD_PROFILE
MAJOR, MINOR, PATCH, VERSION
version
neon
register_module!
declare_types!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment