spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
Context
webidl
binding
generator
Undocumented in source.
struct
Context {
Semantics
semantics
;
ParseTree
extendedAttributeList
;
ParseTree
partial
;
ParseTree
includes
;
bool
readonly
;
bool
primitiveType
;
bool
sumType
;
bool
optional
;
bool
returnType
;
bool
isIncludes
;
bool
skipOptional
;
bool
dParameter
;
string
typeName
;
string
customName
;
string
[]
locals
;
}
Members
Variables
customName
string
customName
;
Undocumented in source.
dParameter
bool
dParameter
;
Undocumented in source.
extendedAttributeList
ParseTree
extendedAttributeList
;
Undocumented in source.
includes
ParseTree
includes
;
Undocumented in source.
isIncludes
bool
isIncludes
;
Undocumented in source.
locals
string
[]
locals
;
Undocumented in source.
optional
bool
optional
;
Undocumented in source.
partial
ParseTree
partial
;
Undocumented in source.
primitiveType
bool
primitiveType
;
Undocumented in source.
readonly
bool
readonly
;
Undocumented in source.
returnType
bool
returnType
;
Undocumented in source.
semantics
Semantics
semantics
;
Undocumented in source.
skipOptional
bool
skipOptional
;
Undocumented in source.
sumType
bool
sumType
;
Undocumented in source.
typeName
string
typeName
;
Undocumented in source.
Meta
Source
See Implementation
webidl
binding
generator
classes
CallbackNode
ConstNode
EnumNode
ExposedConstructorNode
FunctionNode
IR
MaplikeNode
MixinNode
Module
ModuleNode
Semantics
StructIncludesNode
StructNode
Type
TypedefNode
enums
FunctionType
functions
_toDBinding
_toDImport
_toJsExport
collectCallbacks
collectFunctions
collectMethods
collectUsedCallbackNames
createOptionalOverloads
dump
dumpDJsArgument
dumpDJsArguments
dumpDParameter
dumpDParameters
dumpJsArgument
dumpJsArguments
extractArgument
extractArgumentRests
extractArguments
extractDefault
extractDefaults
extractType
extractTypeName
extractTypeNames
extractTypes
friendlyJsName
friendlyName
generateDBindings
generateDImports
generateDType
generateDecodedTypes
generateEncodedTypes
generateJsDecoder
generateJsEncoder
generateJsGlobalBindings
generateSingleJsBinding
getAliasedType
getArgumentList
getImports
getMatchingPartials
getSizeOf
getSymbolInfo
getTemplatedTypeName
getType
getTypeName
getUnionChildren
indentToString
isAny
isCallback
isDKeyword
isEmpty
isEnum
isJsKeyword
isNullable
isNullableTypedef
isPartial
isPrimitive
isRawResultType
isSequence
isStringType
isTypedef
isUnion
iterate
mangleJsName
mangleJsOverloads
mangleName
mangleTypeJs
mangleTypeJsImpl
moveExposedConstructors
orNone
putCamelCase
resolvePartialsAndIncludes
setDParameter
stripNullable
toCamelCase
toDBinding
toDImport
toIr
toJsExport
withLocals
withSkipOptional
interfaces
Node
manifest constants
dKeywords
is32Bit
jsKeywords
structs
Argument
Context
DBindingFunction
DImportFunction
IndentedStringAppender
JsExportFunction
MangleTypeJsContext
TypeDecoder
TypeEncoder
templates
mapType
putWithDelimiter
skipType