C# Class LeMP.StandardMacros.CodeGeneratorForMatchCase

Datei anzeigen Open project: qwertie/ecsharp

Protected Properties

Property Type Description
_context IMacroContext
_handler VList
_input LNode

Protected Methods

Method Description
GenCodeForPattern ( LNode input, LNode pattern ) : void
GetPatternComponents ( LNode pattern, LNode &varBinding, bool &refExistingVar, LNode &cmpExpr, LNode &isType, LNode &inRange, VList &subPatterns, VList &conditions ) : void
PutCond ( LNode cond ) : void
PutStmt ( LNode stmt ) : void

Private Methods

Method Description
CodeGeneratorForMatchCase ( IMacroContext context, LNode input, VList handler ) : System
GenCodeForPattern ( LNode pattern ) : LNode
GetOutputAsLNode ( ) : LNode

Method Details

GenCodeForPattern() protected method

protected GenCodeForPattern ( LNode input, LNode pattern ) : void
input LNode
pattern LNode
return void

GetPatternComponents() protected method

protected GetPatternComponents ( LNode pattern, LNode &varBinding, bool &refExistingVar, LNode &cmpExpr, LNode &isType, LNode &inRange, VList &subPatterns, VList &conditions ) : void
pattern LNode
varBinding LNode
refExistingVar bool
cmpExpr LNode
isType LNode
inRange LNode
subPatterns VList
conditions VList
return void

PutCond() protected method

protected PutCond ( LNode cond ) : void
cond LNode
return void

PutStmt() protected method

protected PutStmt ( LNode stmt ) : void
stmt LNode
return void

Property Details

_context protected_oe property

protected IMacroContext _context
return IMacroContext

_handler protected_oe property

protected VList _handler
return VList

_input protected_oe property

protected LNode _input
return LNode