C# Класс clojure.lang.CljCompiler.Ast.CaseExpr

Наследование: clojure.lang.CljCompiler.Ast.Expr, MaybePrimitiveExpr
Показать файл Открыть проект

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