C# Class Jade.Parser.Nodes.EachNode

Inheritance: Node
显示文件 Open project: rnrn/Jade4Net Class Usage Examples

Public Methods

Method Description
execute ( IndentWriter writer, JadeModel model, JadeTemplate template ) : void
getCode ( ) : String
getElseNode ( ) : Node
getKey ( ) : String
setCode ( String code ) : void
setElseNode ( Node elseNode ) : void
setKey ( String key ) : void

Private Methods

Method Description
executeElseNode ( JadeModel model, IndentWriter writer, JadeTemplate template ) : void
run ( IndentWriter writer, JadeModel model, Object result, JadeTemplate template ) : void
runIterator ( IEnumerator iterator, JadeModel model, IndentWriter writer, JadeTemplate template ) : void
runMap ( Object>.Dictionary result, JadeModel model, IndentWriter writer, JadeTemplate template ) : void

Method Details

execute() public method

public execute ( IndentWriter writer, JadeModel model, JadeTemplate template ) : void
writer Jade.Compiler.IndentWriter
model JadeModel
template JadeTemplate
return void

getCode() public method

public getCode ( ) : String
return String

getElseNode() public method

public getElseNode ( ) : Node
return Node

getKey() public method

public getKey ( ) : String
return String

setCode() public method

public setCode ( String code ) : void
code String
return void

setElseNode() public method

public setElseNode ( Node elseNode ) : void
elseNode Node
return void

setKey() public method

public setKey ( String key ) : void
key String
return void