Method | Description | |
---|---|---|
Appl ( CodeExpression fn ) : CodeExpression | ||
Assign ( CodeExpression lhs, CodeExpression rhs ) : CodeAssignStatement | ||
BinOp ( CodeExpression l, CodeOperatorType op, CodeExpression r ) : CodeBinaryOperatorExpression | ||
CatchClause ( string localName, CodeTypeReference type, System.Action generateClauseBody ) : |
||
Class ( string name, IEnumerable |
||
CodeGenerator ( |
||
Continue ( ) : void | ||
DoWhile ( System.Action generateBody, CodeExpression exp ) : CodePostTestLoopStatement | ||
EnsureImport ( string nmespace ) : void | ||
EscapeKeywordName ( string name ) : string | ||
Field ( string fieldName ) : CodeMemberField | ||
Foreach ( CodeExpression exp, CodeExpression list, System.Action xlatLoopBody ) : CodeStatement | ||
LambdaMethod ( IEnumerable |
||
ListInitializer ( IEnumerable |
||
SideEffect ( CodeExpression exp ) : CodeStatement | ||
Try ( System.Action genTryStatements, IEnumerable |
||
TypeRefExpr ( string typeName ) : CodeExpression | ||
Using ( string @namespace ) : void | ||
Using ( string alias, string @namespace ) : void | ||
While ( CodeExpression exp, System.Action generateBody ) : CodePreTestLoopStatement |
Method | Description | |
---|---|---|
Access ( CodeExpression exp, string fieldName ) : CodeExpression | ||
Aref ( CodeExpression exp, CodeExpression indices ) : CodeArrayIndexerExpression | ||
Break ( ) : void | ||
Comment ( string comment ) : CodeCommentStatement | ||
Constructor ( IEnumerable |
||
CustomAttr ( CodeTypeReference typeRef ) : |
||
Field ( string fieldName, CodeExpression initializer ) : CodeMemberField | ||
GenerateMethodBody ( CodeMemberMethod method, System.Action body ) : void | ||
If ( CodeExpression test, System.Action xlatThen, System.Action xlatElse ) : CodeConditionStatement | ||
Lambda ( CodeExpression args, CodeExpression expr ) : CodeExpression | ||
Lambda ( CodeExpression args, List |
||
Method ( string name, IEnumerable |
||
Param ( |
||
Param ( |
||
Return ( CodeExpression e = null ) : void | ||
StaticMethod ( string name, IEnumerable |
||
Throw ( ) : CodeThrowExceptionStatement | ||
Throw ( CodeExpression codeExpression ) : CodeThrowExceptionStatement | ||
TypeRef ( string typeName ) : CodeTypeReference | ||
Using ( IEnumerable |
||
Yield ( CodeExpression exp ) : CodeYieldStatement |
public Appl ( CodeExpression fn ) : CodeExpression | ||
fn | CodeExpression | |
return | CodeExpression |
public Assign ( CodeExpression lhs, CodeExpression rhs ) : CodeAssignStatement | ||
lhs | CodeExpression | |
rhs | CodeExpression | |
return | CodeAssignStatement |
public BinOp ( CodeExpression l, CodeOperatorType op, CodeExpression r ) : CodeBinaryOperatorExpression | ||
l | CodeExpression | |
op | CodeOperatorType | |
r | CodeExpression | |
return | CodeBinaryOperatorExpression |
public CatchClause ( string localName, CodeTypeReference type, System.Action generateClauseBody ) : |
||
localName | string | |
type | CodeTypeReference | |
generateClauseBody | System.Action | |
return |
public Class ( string name, IEnumerable |
||
name | string | |
baseClasses | IEnumerable |
|
body | System.Action | |
return | CodeTypeDeclaration |
public CodeGenerator ( |
||
unt | ||
modulePath | string | |
moduleName | string | |
return | System |
public DoWhile ( System.Action generateBody, CodeExpression exp ) : CodePostTestLoopStatement | ||
generateBody | System.Action | |
exp | CodeExpression | |
return | CodePostTestLoopStatement |
public EnsureImport ( string nmespace ) : void | ||
nmespace | string | |
return | void |
public EscapeKeywordName ( string name ) : string | ||
name | string | |
return | string |
public Field ( string fieldName ) : CodeMemberField | ||
fieldName | string | |
return | CodeMemberField |
public Foreach ( CodeExpression exp, CodeExpression list, System.Action xlatLoopBody ) : CodeStatement | ||
exp | CodeExpression | |
list | CodeExpression | |
xlatLoopBody | System.Action | |
return | CodeStatement |
public LambdaMethod ( IEnumerable |
||
parms | IEnumerable |
|
body | System.Action | |
return | CodeMemberMethod |
public ListInitializer ( IEnumerable |
||
exprs | IEnumerable |
|
return | CodeExpression |
public SideEffect ( CodeExpression exp ) : CodeStatement | ||
exp | CodeExpression | |
return | CodeStatement |
public Try ( System.Action genTryStatements, IEnumerable |
||
genTryStatements | System.Action | |
catchClauses | IEnumerable |
|
genFinallyStatements | System.Action | |
return | CodeTryCatchFinallyStatement |
public TypeRefExpr ( string typeName ) : CodeExpression | ||
typeName | string | |
return | CodeExpression |
public Using ( string alias, string @namespace ) : void | ||
alias | string | |
@namespace | string | |
return | void |
public While ( CodeExpression exp, System.Action generateBody ) : CodePreTestLoopStatement | ||
exp | CodeExpression | |
generateBody | System.Action | |
return | CodePreTestLoopStatement |