spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
StructNode
webidl
binding
generator
Undocumented in source.
class
StructNode :
Node
{
string
name
;
ParseTree
baseType
;
Node
[]
children
;
string
[]
functions
;
Flag
!
"isStatic"
isStatic
;
this
(string name, ParseTree baseType, Node[] children, string[] functions, Flag!"isStatic" isStatic);
this
(string name, ParseTree baseType, Node[] children, Flag!"isStatic" isStatic);
void
toString
(void delegate(const(char)[]) sink);
string
getHandleSymbol
();
}
Constructors
this
this
(string name, ParseTree baseType, Node[] children, string[] functions, Flag!"isStatic" isStatic)
Undocumented in source.
this
this
(string name, ParseTree baseType, Node[] children, Flag!"isStatic" isStatic)
Undocumented in source.
Members
Functions
getHandleSymbol
string
getHandleSymbol
()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void
toString
(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
baseType
ParseTree
baseType
;
Undocumented in source.
children
Node
[]
children
;
Undocumented in source.
functions
string
[]
functions
;
Undocumented in source.
isStatic
Flag
!
"isStatic"
isStatic
;
Undocumented in source.
name
string
name
;
Undocumented in source.
Inherited Members
From Node
toString
void
toString
(void delegate(const(char)[]) sink)
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