C# 클래스 clojure.lang.CljCompiler.Ast.CaseExpr

상속: clojure.lang.CljCompiler.Ast.Expr, MaybePrimitiveExpr
파일 보기 프로젝트 열기: richhickey/clojure-clr

Private Properties

프로퍼티 타입 설명
GenCode Expression
GenResult Expression
GenShiftMask Expression
GenTestExprForHashes Expression
GenTestExprForInts Expression
GenTestForHashes Expression
GenTestForInts Expression

공개 메소드들

메소드 설명
CaseExpr ( IPersistentMap sourceSpan, LocalBindingExpr expr, int shift, int mask, int low, int high, clojure.lang.CljCompiler.Ast.Expr defaultExpr, Expr>.SortedDictionary tests, Expr>.Dictionary thens, Keyword switchType, Keyword testType, IPersistentSet skipCheck ) : Microsoft.Scripting.Ast
Eval ( ) : object
GenCode ( RHC rhc, ObjExpr objx, GenContext context ) : Expression

Equivalent to : switch (hashed _expr) case i: if _expr == _test_i goto end with _then_i else goto default ... default: (default_label) goto end with _default end end_label:

GenCodeUnboxed ( RHC rhc, ObjExpr objx, GenContext context ) : Expression

비공개 메소드들

메소드 설명
GenCode ( RHC rhc, ObjExpr objx, GenContext context, bool genUnboxed ) : Expression
GenResult ( ObjExpr objx, GenContext context, clojure.lang.CljCompiler.Ast.Expr expr, bool genUnboxed, Type retType ) : Expression
GenShiftMask ( Expression expr ) : Expression
GenTestExprForHashes ( ObjExpr objx, GenContext context ) : Expression
GenTestExprForInts ( ObjExpr objx, GenContext context, Type exprType, LabelTarget defaultLabel ) : Expression
GenTestForHashes ( ObjExpr objx, GenContext context, clojure.lang.CljCompiler.Ast.Expr test, bool genUnboxed ) : Expression
GenTestForInts ( ObjExpr objx, GenContext context, Type primExprType, clojure.lang.CljCompiler.Ast.Expr test, bool genUnboxed ) : Expression

메소드 상세

CaseExpr() 공개 메소드

public CaseExpr ( IPersistentMap sourceSpan, LocalBindingExpr expr, int shift, int mask, int low, int high, clojure.lang.CljCompiler.Ast.Expr defaultExpr, Expr>.SortedDictionary tests, Expr>.Dictionary thens, Keyword switchType, Keyword testType, IPersistentSet skipCheck ) : Microsoft.Scripting.Ast
sourceSpan IPersistentMap
expr LocalBindingExpr
shift int
mask int
low int
high int
defaultExpr clojure.lang.CljCompiler.Ast.Expr
tests Expr>.SortedDictionary
thens Expr>.Dictionary
switchType Keyword
testType Keyword
skipCheck IPersistentSet
리턴 Microsoft.Scripting.Ast

Eval() 공개 메소드

public Eval ( ) : object
리턴 object

GenCode() 공개 메소드

Equivalent to : switch (hashed _expr) case i: if _expr == _test_i goto end with _then_i else goto default ... default: (default_label) goto end with _default end end_label:
public GenCode ( RHC rhc, ObjExpr objx, GenContext context ) : Expression
rhc RHC
objx ObjExpr
context GenContext
리턴 Expression

GenCodeUnboxed() 공개 메소드

public GenCodeUnboxed ( RHC rhc, ObjExpr objx, GenContext context ) : Expression
rhc RHC
objx ObjExpr
context GenContext
리턴 Expression