C# 클래스 YAMP.ContainerExpression

Represents a container for expressions and corresponding operators.
상속: Expression
파일 보기 프로젝트 열기: FlorianRappl/YAMP 1 사용 예제들

공개 메소드들

메소드 설명
ContainerExpression ( ) : System

Creates a new expression container.

ContainerExpression ( ContainerExpression container ) : System

Creates a new expression container.

ContainerExpression ( Expression expression ) : System

Creates a new expression container.

ContainerExpression ( Expression leftExpression, Expression rightExpression, Operator @operator ) : System

Creates a new expression container.

ContainerExpression ( Expression expression, Operator @operator ) : System

Creates a new expression container.

Interpret ( Value>.IDictionary symbols ) : Value

Interprets the container expression.

RegisterElement ( IElementMapping elementMapping ) : void

Registers the element in the beginning.

Scan ( ParseEngine engine ) : Expression

Scans the input of the current parse engine.

ToCode ( ) : string

Transforms the contained expressions and operators into a valid part of a YAMP query.

ToDebug ( int padLeft, int tabsize ) : String

Returns a string to allow visualization of a Expression tree

ToString ( ) : String

Transforms the content into a string.

메소드 상세

ContainerExpression() 공개 메소드

Creates a new expression container.
public ContainerExpression ( ) : System
리턴 System

ContainerExpression() 공개 메소드

Creates a new expression container.
public ContainerExpression ( ContainerExpression container ) : System
container ContainerExpression The container which contains expressions and an operator.
리턴 System

ContainerExpression() 공개 메소드

Creates a new expression container.
public ContainerExpression ( Expression expression ) : System
expression Expression The (1) expression to contain.
리턴 System

ContainerExpression() 공개 메소드

Creates a new expression container.
public ContainerExpression ( Expression leftExpression, Expression rightExpression, Operator @operator ) : System
leftExpression Expression The left expression to evaluate.
rightExpression Expression The right expression to evaluate.
@operator Operator
리턴 System

ContainerExpression() 공개 메소드

Creates a new expression container.
public ContainerExpression ( Expression expression, Operator @operator ) : System
expression Expression The (1) expression to contain.
@operator Operator
리턴 System

Interpret() 공개 메소드

Interprets the container expression.
public Interpret ( Value>.IDictionary symbols ) : Value
symbols Value>.IDictionary External symbols to be used.
리턴 Value

RegisterElement() 공개 메소드

Registers the element in the beginning.
public RegisterElement ( IElementMapping elementMapping ) : void
elementMapping IElementMapping
리턴 void

Scan() 공개 메소드

Scans the input of the current parse engine.
public Scan ( ParseEngine engine ) : Expression
engine ParseEngine The engine to use.
리턴 Expression

ToCode() 공개 메소드

Transforms the contained expressions and operators into a valid part of a YAMP query.
public ToCode ( ) : string
리턴 string

ToDebug() 공개 메소드

Returns a string to allow visualization of a Expression tree
public ToDebug ( int padLeft, int tabsize ) : String
padLeft int
tabsize int
리턴 String

ToString() 공개 메소드

Transforms the content into a string.
public ToString ( ) : String
리턴 String