C# Class luablock.Compiler

显示文件 Open project: Myvar/LuaBlock

Public Properties

Property Type Description
ConstantCount int
IFsfound int
Methods List>.Dictionary
optc int

Public Methods

Method Description
ArgBuilder ( List perams ) : List
BuildBOp ( BinaryOp bo ) : string
BuildBody ( List Statments, List Linesa = null ) : List
BuildSchematic ( string schmaticpath ) : void
Compiler ( ) : System
Convert ( string script, string schmaticpath ) : void
iterateBinOp ( NetLua.Ast.BinaryExpression bb, string name, List Lines ) : string
iterateLogic ( List Lines, NetLua.Ast.IfStat ifs ) : void

Private Methods

Method Description
TypeToString ( IExpression e ) : string
getIntFromBitArray ( BitArray bitArray ) : int

Method Details

ArgBuilder() public method

public ArgBuilder ( List perams ) : List
perams List
return List

BuildBOp() public method

public BuildBOp ( BinaryOp bo ) : string
bo BinaryOp
return string

BuildBody() public method

public BuildBody ( List Statments, List Linesa = null ) : List
Statments List
Linesa List
return List

BuildSchematic() public method

public BuildSchematic ( string schmaticpath ) : void
schmaticpath string
return void

Compiler() public method

public Compiler ( ) : System
return System

Convert() public method

public Convert ( string script, string schmaticpath ) : void
script string
schmaticpath string
return void

iterateBinOp() public method

public iterateBinOp ( NetLua.Ast.BinaryExpression bb, string name, List Lines ) : string
bb NetLua.Ast.BinaryExpression
name string
Lines List
return string

iterateLogic() public method

public iterateLogic ( List Lines, NetLua.Ast.IfStat ifs ) : void
Lines List
ifs NetLua.Ast.IfStat
return void

Property Details

ConstantCount public_oe property

public int ConstantCount
return int

IFsfound public_oe property

public int IFsfound
return int

Methods public_oe property

public Dictionary> Methods
return List>.Dictionary

optc public_oe property

public int optc
return int