C# 클래스 Ancestry.QueryProcessor.Type.BaseType

파일 보기 프로젝트 열기: Ancestry/DotQL 1 사용 예제들

공개 메소드들

메소드 설명
BuildDOM ( ) : Parse.TypeDeclaration
BuildDefault ( ) : Parse.Expression
CompileBinaryExpression ( Compiler compiler, Frame frame, ExpressionContext left, Parse expression, Type typeHint ) : ExpressionContext
CompileExtractExpression ( Compiler compiler, Frame frame, ExpressionContext left, Parse expression, BaseType typeHint ) : ExpressionContext
CompileUnaryExpression ( Compiler compiler, Frame frame, ExpressionContext inner, Parse expression, Type typeHint ) : ExpressionContext
Convert ( ExpressionContext expression, BaseType target ) : ExpressionContext
EmitLiteral ( MethodContext method, object value ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetNative ( Emitter emitter ) : Type
ToString ( ) : string
operator ( ) : bool

보호된 메소드들

메소드 설명
CallClassOp ( MethodContext method, string opName ) : bool

Attempt to invoke an operator overload on the left-hand class if there is one.

EmitBinaryOperator ( MethodContext method, Compiler compiler, ExpressionContext left, ExpressionContext right, Parse expression ) : void

Overridden to determine what operators a type supports and to change how they are implemented.

Override this rather than CompileBinaryOperator when nothing special is necessary when compiling the right-hand expression.

EmitShortCircuit ( MethodContext method, Compiler compiler, Frame frame, ExpressionContext left, ExpressionContext right, Parse expression, Type typeHint ) : void

Overridden to determine what operators a type supports and to change how they are implemented.

Override this rather than CompileBinaryOperator when nothing special is necessary when compiling the right-hand expression.

EmitUnaryOperator ( MethodContext method, Compiler compiler, ExpressionContext inner, Parse expression ) : void

Overridden to determine what operators a type supports and to change how they are implemented.

NotSupported ( Parse expression ) : Exception

메소드 상세

BuildDOM() 공개 추상적인 메소드

public abstract BuildDOM ( ) : Parse.TypeDeclaration
리턴 Parse.TypeDeclaration

BuildDefault() 공개 추상적인 메소드

public abstract BuildDefault ( ) : Parse.Expression
리턴 Parse.Expression

CallClassOp() 보호된 메소드

Attempt to invoke an operator overload on the left-hand class if there is one.
protected CallClassOp ( MethodContext method, string opName ) : bool
method Ancestry.QueryProcessor.Compile.MethodContext
opName string
리턴 bool

CompileBinaryExpression() 공개 메소드

public CompileBinaryExpression ( Compiler compiler, Frame frame, ExpressionContext left, Parse expression, Type typeHint ) : ExpressionContext
compiler Compiler
frame Frame
left Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
typeHint System.Type
리턴 Ancestry.QueryProcessor.Compile.ExpressionContext

CompileExtractExpression() 공개 메소드

public CompileExtractExpression ( Compiler compiler, Frame frame, ExpressionContext left, Parse expression, BaseType typeHint ) : ExpressionContext
compiler Compiler
frame Frame
left Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
typeHint BaseType
리턴 Ancestry.QueryProcessor.Compile.ExpressionContext

CompileUnaryExpression() 공개 메소드

public CompileUnaryExpression ( Compiler compiler, Frame frame, ExpressionContext inner, Parse expression, Type typeHint ) : ExpressionContext
compiler Compiler
frame Frame
inner Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
typeHint System.Type
리턴 Ancestry.QueryProcessor.Compile.ExpressionContext

Convert() 공개 메소드

public Convert ( ExpressionContext expression, BaseType target ) : ExpressionContext
expression Ancestry.QueryProcessor.Compile.ExpressionContext
target BaseType
리턴 Ancestry.QueryProcessor.Compile.ExpressionContext

EmitBinaryOperator() 보호된 메소드

Overridden to determine what operators a type supports and to change how they are implemented.
Override this rather than CompileBinaryOperator when nothing special is necessary when compiling the right-hand expression.
protected EmitBinaryOperator ( MethodContext method, Compiler compiler, ExpressionContext left, ExpressionContext right, Parse expression ) : void
method Ancestry.QueryProcessor.Compile.MethodContext
compiler Compiler
left Ancestry.QueryProcessor.Compile.ExpressionContext
right Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
리턴 void

EmitLiteral() 공개 메소드

public EmitLiteral ( MethodContext method, object value ) : void
method Ancestry.QueryProcessor.Compile.MethodContext
value object
리턴 void

EmitShortCircuit() 보호된 메소드

Overridden to determine what operators a type supports and to change how they are implemented.
Override this rather than CompileBinaryOperator when nothing special is necessary when compiling the right-hand expression.
protected EmitShortCircuit ( MethodContext method, Compiler compiler, Frame frame, ExpressionContext left, ExpressionContext right, Parse expression, Type typeHint ) : void
method Ancestry.QueryProcessor.Compile.MethodContext
compiler Compiler
frame Frame
left Ancestry.QueryProcessor.Compile.ExpressionContext
right Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
typeHint System.Type
리턴 void

EmitUnaryOperator() 보호된 메소드

Overridden to determine what operators a type supports and to change how they are implemented.
protected EmitUnaryOperator ( MethodContext method, Compiler compiler, ExpressionContext inner, Parse expression ) : void
method Ancestry.QueryProcessor.Compile.MethodContext
compiler Compiler
inner Ancestry.QueryProcessor.Compile.ExpressionContext
expression Parse
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetNative() 공개 추상적인 메소드

public abstract GetNative ( Emitter emitter ) : Type
emitter Ancestry.QueryProcessor.Compile.Emitter
리턴 System.Type

NotSupported() 보호된 메소드

protected NotSupported ( Parse expression ) : Exception
expression Parse
리턴 System.Exception

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool