dmdscript v2.1.0 (2021-12-16T21:42:33Z)
Dub
Repo
FunctionSymbol
dmdscript
symbol
FunctionSymbol *****************************
class
FunctionSymbol :
ScopeSymbol
{
Loc
loc
;
Identifier
*[]
parameters
;
TopStatement
[]
topstatements
;
SymbolTable
labtab
;
IR
*
code
;
uint
nlocals
;
this
(Loc loc, Identifier* ident, Identifier*[] parameters, TopStatement[] topstatements);
void
semantic
(Scope* sc);
}
Constructors
this
this
(Loc loc, Identifier* ident, Identifier*[] parameters, TopStatement[] topstatements)
Undocumented in source.
Members
Functions
semantic
void
semantic
(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
code
IR
*
code
;
Undocumented in source.
labtab
SymbolTable
labtab
;
Undocumented in source.
loc
Loc
loc
;
Undocumented in source.
nlocals
uint
nlocals
;
Undocumented in source.
parameters
Identifier
*[]
parameters
;
Undocumented in source.
topstatements
TopStatement
[]
topstatements
;
Undocumented in source.
Inherited Members
From ScopeSymbol
members
Symbol
[]
members
;
Undocumented in source.
symtab
SymbolTable
*
symtab
;
Undocumented in source.
search
Symbol
search
(Identifier* ident)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dmdscript
symbol
classes
FunctionSymbol
LabelSymbol
ScopeSymbol
Symbol
structs
SymbolTable
FunctionSymbol *****************************