C# 클래스 TriAxis.RunSharp.Operand

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

보호된 프로퍼티들

프로퍼티 타입 설명
EmptyArray TriAxis.RunSharp.Operand[]

공개 메소드들

메소드 설명
Add ( Operand value ) : Operand
ArrayLength ( ) : Operand
As ( Type type ) : Operand
Assign ( Operand value ) : Assignment
Assign ( Operand value, bool allowExplicitConversion ) : Assignment
AssignAdd ( Operand value ) : IStatement
AssignAnd ( Operand value ) : IStatement
AssignDivide ( Operand value ) : IStatement
AssignLeftShift ( Operand value ) : IStatement
AssignModulus ( Operand value ) : IStatement
AssignMultiply ( Operand value ) : IStatement
AssignRightShift ( Operand value ) : IStatement
AssignSubtract ( Operand value ) : IStatement
AssignXor ( Operand value ) : IStatement
BitwiseAnd ( Operand value ) : Operand
BitwiseOr ( Operand value ) : Operand
Cast ( Type type ) : Operand
Conditional ( Operand ifTrue, Operand ifFalse ) : Operand
Decrement ( ) : IStatement
Divide ( Operand value ) : Operand
Eq ( Operand value ) : Operand
Equals ( object obj ) : bool
Field ( string name, ITypeMapper typeMapper ) : ContextualOperand
FromObject ( object operandOrLiteral ) : Operand
Ge ( Operand value ) : Operand
GetHashCode ( ) : int
GetReturnType ( ITypeMapper typeMapper ) : Type
Gt ( Operand value ) : Operand
Increment ( ) : IStatement
Invoke ( MethodInfo method, ITypeMapper typeMapper ) : ContextualOperand
Invoke ( string name, ITypeMapper typeMapper ) : ContextualOperand
InvokeDelegate ( ITypeMapper typeMapper ) : ContextualOperand
InvokeEquals ( Operand right, ITypeMapper typeMapper ) : ContextualOperand
InvokeGetHashCode ( ITypeMapper typeMapper ) : ContextualOperand
InvokeGetType ( ITypeMapper typeMapper ) : ContextualOperand
InvokeReferenceEquals ( Operand right, ITypeMapper typeMapper ) : ContextualOperand
InvokeToString ( ITypeMapper typeMapper ) : ContextualOperand
Is ( Type type ) : Operand
IsFalse ( ) : Operand
IsTrue ( ) : Operand
Le ( Operand value ) : Operand
LeftShift ( Operand value ) : Operand
LogicalAnd ( Operand other ) : Operand
LogicalNot ( ) : Operand
LogicalOr ( Operand other ) : Operand
LongArrayLength ( ) : Operand
Lt ( Operand value ) : Operand
Modulus ( Operand value ) : Operand
Multiply ( Operand value ) : Operand
Ne ( Operand value ) : Operand
Negate ( ) : Operand
OnesComplement ( ) : Operand
Plus ( ) : Operand
PostDecrement ( ) : Operand
PostIncrement ( ) : Operand
Pow2 ( ) : Operand
PreDecrement ( ) : Operand
PreIncrement ( ) : Operand
Property ( string name, ITypeMapper typeMapper ) : ContextualOperand
Ref ( ) : Operand
RightShift ( Operand value ) : Operand
SetNotLeaked ( ) : Operand

Set not leaked for this and *all used operands recursively*. Returns itself.

Usage:
var asStream = ag.ExpressionFactory.New(typeof(MemoryStream)).Cast(typeof(Stream)).SetNotLeaked(false)();

Subtract ( Operand value ) : Operand
Xor ( Operand value ) : Operand
operator ( ) : Operand

보호된 메소드들

메소드 설명
AssignmentHint ( Operand op ) : void
EmitAddressOf ( CodeGen g ) : void
EmitBranch ( CodeGen g, OptionalLabel labelTrue, OptionalLabel labelFalse ) : void
EmitGet ( CodeGen g ) : void
EmitGetHelper ( CodeGen g, Operand op, Type desiredType, bool allowExplicitConversion ) : void
EmitSet ( CodeGen g, Operand value, bool allowExplicitConversion ) : void
GetBindingFlags ( ) : IKVM.Reflection.BindingFlags
GetILGenerator ( CodeGen g ) : ILGenerator
GetType ( Operand op, ITypeMapper typeMapper ) : Type
GetTypes ( Operand ops, ITypeMapper typeMapper ) : Type[]
Operand ( ) : System

비공개 메소드들

메소드 설명
AssignOr ( Operand value ) : IStatement
EmitRef ( CodeGen g ) : void
ResetLeakedStateRecursively ( ) : void
SetLeakedStateRecursively ( ) : void
operator ( ) : bool
this ( ITypeMapper typeMapper ) : ContextualOperand

메소드 상세

Add() 공개 메소드

public Add ( Operand value ) : Operand
value Operand
리턴 Operand

ArrayLength() 공개 메소드

public ArrayLength ( ) : Operand
리턴 Operand

As() 공개 메소드

public As ( Type type ) : Operand
type IKVM.Reflection.Type
리턴 Operand

Assign() 공개 메소드

public Assign ( Operand value ) : Assignment
value Operand
리턴 Assignment

Assign() 공개 메소드

public Assign ( Operand value, bool allowExplicitConversion ) : Assignment
value Operand
allowExplicitConversion bool
리턴 Assignment

AssignAdd() 공개 메소드

public AssignAdd ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignAnd() 공개 메소드

public AssignAnd ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignDivide() 공개 메소드

public AssignDivide ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignLeftShift() 공개 메소드

public AssignLeftShift ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignModulus() 공개 메소드

public AssignModulus ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignMultiply() 공개 메소드

public AssignMultiply ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignRightShift() 공개 메소드

public AssignRightShift ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignSubtract() 공개 메소드

public AssignSubtract ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignXor() 공개 메소드

public AssignXor ( Operand value ) : IStatement
value Operand
리턴 IStatement

AssignmentHint() 보호된 메소드

protected AssignmentHint ( Operand op ) : void
op Operand
리턴 void

BitwiseAnd() 공개 메소드

public BitwiseAnd ( Operand value ) : Operand
value Operand
리턴 Operand

BitwiseOr() 공개 메소드

public BitwiseOr ( Operand value ) : Operand
value Operand
리턴 Operand

Cast() 공개 메소드

public Cast ( Type type ) : Operand
type IKVM.Reflection.Type
리턴 Operand

Conditional() 공개 메소드

public Conditional ( Operand ifTrue, Operand ifFalse ) : Operand
ifTrue Operand
ifFalse Operand
리턴 Operand

Decrement() 공개 메소드

public Decrement ( ) : IStatement
리턴 IStatement

Divide() 공개 메소드

public Divide ( Operand value ) : Operand
value Operand
리턴 Operand

EmitAddressOf() 보호된 메소드

protected EmitAddressOf ( CodeGen g ) : void
g CodeGen
리턴 void

EmitBranch() 보호된 메소드

protected EmitBranch ( CodeGen g, OptionalLabel labelTrue, OptionalLabel labelFalse ) : void
g CodeGen
labelTrue OptionalLabel
labelFalse OptionalLabel
리턴 void

EmitGet() 보호된 메소드

protected EmitGet ( CodeGen g ) : void
g CodeGen
리턴 void

EmitGetHelper() 보호된 메소드

protected EmitGetHelper ( CodeGen g, Operand op, Type desiredType, bool allowExplicitConversion ) : void
g CodeGen
op Operand
desiredType IKVM.Reflection.Type
allowExplicitConversion bool
리턴 void

EmitSet() 보호된 메소드

protected EmitSet ( CodeGen g, Operand value, bool allowExplicitConversion ) : void
g CodeGen
value Operand
allowExplicitConversion bool
리턴 void

Eq() 공개 메소드

public Eq ( Operand value ) : Operand
value Operand
리턴 Operand

Equals() 공개 메소드

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

Field() 공개 메소드

public Field ( string name, ITypeMapper typeMapper ) : ContextualOperand
name string
typeMapper ITypeMapper
리턴 ContextualOperand

FromObject() 공개 정적인 메소드

public static FromObject ( object operandOrLiteral ) : Operand
operandOrLiteral object
리턴 Operand

Ge() 공개 메소드

public Ge ( Operand value ) : Operand
value Operand
리턴 Operand

GetBindingFlags() 보호된 메소드

protected GetBindingFlags ( ) : IKVM.Reflection.BindingFlags
리턴 IKVM.Reflection.BindingFlags

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetILGenerator() 보호된 메소드

protected GetILGenerator ( CodeGen g ) : ILGenerator
g CodeGen
리턴 System.Reflection.Emit.ILGenerator

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

public abstract GetReturnType ( ITypeMapper typeMapper ) : Type
typeMapper ITypeMapper
리턴 IKVM.Reflection.Type

GetType() 보호된 정적인 메소드

protected static GetType ( Operand op, ITypeMapper typeMapper ) : Type
op Operand
typeMapper ITypeMapper
리턴 IKVM.Reflection.Type

GetTypes() 보호된 정적인 메소드

protected static GetTypes ( Operand ops, ITypeMapper typeMapper ) : Type[]
ops Operand
typeMapper ITypeMapper
리턴 Type[]

Gt() 공개 메소드

public Gt ( Operand value ) : Operand
value Operand
리턴 Operand

Increment() 공개 메소드

public Increment ( ) : IStatement
리턴 IStatement

Invoke() 공개 메소드

public Invoke ( MethodInfo method, ITypeMapper typeMapper ) : ContextualOperand
method MethodInfo
typeMapper ITypeMapper
리턴 ContextualOperand

Invoke() 공개 메소드

public Invoke ( string name, ITypeMapper typeMapper ) : ContextualOperand
name string
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeDelegate() 공개 메소드

public InvokeDelegate ( ITypeMapper typeMapper ) : ContextualOperand
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeEquals() 공개 메소드

public InvokeEquals ( Operand right, ITypeMapper typeMapper ) : ContextualOperand
right Operand
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeGetHashCode() 공개 메소드

public InvokeGetHashCode ( ITypeMapper typeMapper ) : ContextualOperand
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeGetType() 공개 메소드

public InvokeGetType ( ITypeMapper typeMapper ) : ContextualOperand
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeReferenceEquals() 공개 메소드

public InvokeReferenceEquals ( Operand right, ITypeMapper typeMapper ) : ContextualOperand
right Operand
typeMapper ITypeMapper
리턴 ContextualOperand

InvokeToString() 공개 메소드

public InvokeToString ( ITypeMapper typeMapper ) : ContextualOperand
typeMapper ITypeMapper
리턴 ContextualOperand

Is() 공개 메소드

public Is ( Type type ) : Operand
type IKVM.Reflection.Type
리턴 Operand

IsFalse() 공개 메소드

public IsFalse ( ) : Operand
리턴 Operand

IsTrue() 공개 메소드

public IsTrue ( ) : Operand
리턴 Operand

Le() 공개 메소드

public Le ( Operand value ) : Operand
value Operand
리턴 Operand

LeftShift() 공개 메소드

public LeftShift ( Operand value ) : Operand
value Operand
리턴 Operand

LogicalAnd() 공개 메소드

public LogicalAnd ( Operand other ) : Operand
other Operand
리턴 Operand

LogicalNot() 공개 메소드

public LogicalNot ( ) : Operand
리턴 Operand

LogicalOr() 공개 메소드

public LogicalOr ( Operand other ) : Operand
other Operand
리턴 Operand

LongArrayLength() 공개 메소드

public LongArrayLength ( ) : Operand
리턴 Operand

Lt() 공개 메소드

public Lt ( Operand value ) : Operand
value Operand
리턴 Operand

Modulus() 공개 메소드

public Modulus ( Operand value ) : Operand
value Operand
리턴 Operand

Multiply() 공개 메소드

public Multiply ( Operand value ) : Operand
value Operand
리턴 Operand

Ne() 공개 메소드

public Ne ( Operand value ) : Operand
value Operand
리턴 Operand

Negate() 공개 메소드

public Negate ( ) : Operand
리턴 Operand

OnesComplement() 공개 메소드

public OnesComplement ( ) : Operand
리턴 Operand

Operand() 보호된 메소드

protected Operand ( ) : System
리턴 System

Plus() 공개 메소드

public Plus ( ) : Operand
리턴 Operand

PostDecrement() 공개 메소드

public PostDecrement ( ) : Operand
리턴 Operand

PostIncrement() 공개 메소드

public PostIncrement ( ) : Operand
리턴 Operand

Pow2() 공개 메소드

public Pow2 ( ) : Operand
리턴 Operand

PreDecrement() 공개 메소드

public PreDecrement ( ) : Operand
리턴 Operand

PreIncrement() 공개 메소드

public PreIncrement ( ) : Operand
리턴 Operand

Property() 공개 메소드

public Property ( string name, ITypeMapper typeMapper ) : ContextualOperand
name string
typeMapper ITypeMapper
리턴 ContextualOperand

Ref() 공개 메소드

public Ref ( ) : Operand
리턴 Operand

RightShift() 공개 메소드

public RightShift ( Operand value ) : Operand
value Operand
리턴 Operand

SetNotLeaked() 공개 메소드

Set not leaked for this and *all used operands recursively*. Returns itself.
Usage:
var asStream = ag.ExpressionFactory.New(typeof(MemoryStream)).Cast(typeof(Stream)).SetNotLeaked(false)();
public SetNotLeaked ( ) : Operand
리턴 Operand

Subtract() 공개 메소드

public Subtract ( Operand value ) : Operand
value Operand
리턴 Operand

Xor() 공개 메소드

public Xor ( Operand value ) : Operand
value Operand
리턴 Operand

operator() 공개 정적인 메소드

public static operator ( ) : Operand
리턴 Operand

프로퍼티 상세

EmptyArray 보호되어 있는 정적으로 프로퍼티

protected static Operand[],TriAxis.RunSharp EmptyArray
리턴 TriAxis.RunSharp.Operand[]