C# Class Microsoft.Bek.Frontend.AST.BekPgm

Inheritance: IEmitCode, ILocation
ファイルを表示 Open project: AutomataDotNet/Automata Class Usage Examples

Public Properties

Property Type Description
body stmt
funcs List
id ident
input ident
name string

Public Methods

Method Description
AddLocalFunctions ( IEnumerable localFuncs ) : void
BekPgm ( ident id, ident inputvar, stmt body ) : System
GenerateCode ( string language, StringBuilder sb ) : void
GetBoundVars ( ) : IEnumerable
GetFunctionNames ( ) : IEnumerable
ToC ( StringBuilder sb ) : void
ToCS ( StringBuilder sb ) : void
ToJS ( StringBuilder sb ) : void

Protected Methods

Method Description
DefineJavaScriptFunction ( ident f, StringBuilder sb ) : void
GetUniqueFunctionNames ( ) : IEnumerable

Method Details

AddLocalFunctions() public method

public AddLocalFunctions ( IEnumerable localFuncs ) : void
localFuncs IEnumerable
return void

BekPgm() public method

public BekPgm ( ident id, ident inputvar, stmt body ) : System
id ident
inputvar ident
body stmt
return System

DefineJavaScriptFunction() protected method

protected DefineJavaScriptFunction ( ident f, StringBuilder sb ) : void
f ident
sb StringBuilder
return void

GenerateCode() public method

public GenerateCode ( string language, StringBuilder sb ) : void
language string
sb StringBuilder
return void

GetBoundVars() public method

public GetBoundVars ( ) : IEnumerable
return IEnumerable

GetFunctionNames() public method

public GetFunctionNames ( ) : IEnumerable
return IEnumerable

GetUniqueFunctionNames() protected method

protected GetUniqueFunctionNames ( ) : IEnumerable
return IEnumerable

ToC() public method

public ToC ( StringBuilder sb ) : void
sb StringBuilder
return void

ToCS() public method

public ToCS ( StringBuilder sb ) : void
sb StringBuilder
return void

ToJS() public method

public ToJS ( StringBuilder sb ) : void
sb StringBuilder
return void

Property Details

body public_oe property

public stmt body
return stmt

funcs public_oe property

public List funcs
return List

id public_oe property

public ident,Microsoft.Bek.Frontend.AST id
return ident

input public_oe property

public ident,Microsoft.Bek.Frontend.AST input
return ident

name public_oe property

public string name
return string