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

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

Public Properties

Property Type Description
cond expr
fcase List
tcase List

Public Methods

Method Description
GenerateCode ( string language, StringBuilder sb ) : void
GetBoundVars ( ) : IEnumerable
GetFunctionNames ( ) : IEnumerable
Mk ( List pairs ) : ifthenelse
ToC ( StringBuilder sb ) : void
ToCS ( StringBuilder sb ) : void
ToJS ( StringBuilder sb ) : void
ToString ( ) : string
ifthenelse ( expr cond, List tcase, List fcase ) : System

Method Details

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

Mk() public static method

public static Mk ( List pairs ) : ifthenelse
pairs List
return ifthenelse

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

ToString() public method

public ToString ( ) : string
return string

ifthenelse() public method

public ifthenelse ( expr cond, List tcase, List fcase ) : System
cond expr
tcase List
fcase List
return System

Property Details

cond public_oe property

public expr cond
return expr

fcase public_oe property

public List fcase
return List

tcase public_oe property

public List tcase
return List