C# Class DCPUB.Ast.FunctionDeclarationNode

Inheritance: CompilableNode
Show file Open project: Blecki/DCPUB

Public Properties

Property Type Description
function Model.Function
parameters String>>.List

Protected Properties

Property Type Description
footerLabel Intermediate.Label

Public Methods

Method Description
CompileFunction ( CompileContext context ) : Intermediate.IRNode
Emit ( CompileContext context, Model scope, Target target ) : Intermediate.IRNode
GatherSymbols ( CompileContext context, Model enclosingScope ) : void
Init ( Irony context, Irony treeNode ) : void
ResolveTypes ( CompileContext context, Model enclosingScope ) : void

Private Methods

Method Description
CompileReturn ( CompileContext context, Model localScope ) : Intermediate.IRNode

Method Details

CompileFunction() public method

public CompileFunction ( CompileContext context ) : Intermediate.IRNode
context CompileContext
return Intermediate.IRNode

Emit() public method

public Emit ( CompileContext context, Model scope, Target target ) : Intermediate.IRNode
context CompileContext
scope Model
target Target
return Intermediate.IRNode

GatherSymbols() public method

public GatherSymbols ( CompileContext context, Model enclosingScope ) : void
context CompileContext
enclosingScope Model
return void

Init() public method

public Init ( Irony context, Irony treeNode ) : void
context Irony
treeNode Irony
return void

ResolveTypes() public method

public ResolveTypes ( CompileContext context, Model enclosingScope ) : void
context CompileContext
enclosingScope Model
return void

Property Details

footerLabel protected property

protected Intermediate.Label footerLabel
return Intermediate.Label

function public property

public Model.Function function
return Model.Function

parameters public property

public List> parameters
return String>>.List