vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
FunctionDeclNode
vox
fe
ast
decl
func
Undocumented in source.
@
AstType
.
decl_function
struct
FunctionDeclNode {
mixin
AstNodeData
!(
AstType
.
decl_function
)
;
AstIndex
_module
;
ScopeIndex
parameterScope
;
AstIndex
signature
;
AstIndex
block_stmt
;
Identifier
id
;
FunctionBackendData
backendData
;
bool
isInline
();
bool
isBuiltin
();
bool
isCtfeOnly
(CompilationContext* c);
bool
isExternal
();
this
(TokenIndex loc, AstIndex _module, ScopeIndex parameterScope, AstIndex signature, Identifier id);
IrIndex
getIrIndex
(CompilationContext* c);
}
Constructors
this
this
(TokenIndex loc, AstIndex _module, ScopeIndex parameterScope, AstIndex signature, Identifier id)
Undocumented in source.
Members
Functions
getIrIndex
IrIndex
getIrIndex
(CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
isBuiltin
bool
isBuiltin
()
Undocumented in source. Be warned that the author may not have intended to support it.
isCtfeOnly
bool
isCtfeOnly
(CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
isExternal
bool
isExternal
()
External functions have no body
isInline
bool
isInline
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
AstNodeData
!(
AstType
.
decl_function
)
Undocumented in source.
Variables
_module
AstIndex
_module
;
Undocumented in source.
backendData
FunctionBackendData
backendData
;
Undocumented in source.
block_stmt
AstIndex
block_stmt
;
Undocumented in source.
id
Identifier
id
;
Undocumented in source.
parameterScope
ScopeIndex
parameterScope
;
Undocumented in source.
signature
AstIndex
signature
;
Undocumented in source.
Meta
Source
See Implementation
vox
fe
ast
decl
func
enums
FuncDeclFlags
functions
ir_gen_function
name_register_nested_func
name_register_self_func
name_resolve_func
post_clone_func
print_func
type_check_func
structs
FunctionBackendData
FunctionDeclNode
FunctionIndex