C# 클래스 Rhino.Ast.XmlExpression

AST node for an embedded JavaScript expression within an E4X XML literal.
AST node for an embedded JavaScript expression within an E4X XML literal. Node type, like XmlLiteral , is Rhino.Token.XML . The node length includes the curly braces.
상속: XmlFragment
파일 보기 프로젝트 열기: hazzik/Rhino.Net

공개 메소드들

메소드 설명
GetExpression ( ) : AstNode

Returns the expression embedded in {}

IsXmlAttribute ( ) : bool

Returns whether this is part of an xml attribute value

SetExpression ( AstNode expression ) : void

Sets the expression embedded in {}, and sets its parent to this node.

Sets the expression embedded in {}, and sets its parent to this node.

SetIsXmlAttribute ( bool isXmlAttribute ) : void

Sets whether this is part of an xml attribute value

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, then the child expression.

Visits this node, then the child expression.

XmlExpression ( ) : Rhino.Ast
XmlExpression ( int pos ) : Rhino.Ast
XmlExpression ( int pos, AstNode expr ) : Rhino.Ast
XmlExpression ( int pos, int len ) : Rhino.Ast

메소드 상세

GetExpression() 공개 메소드

Returns the expression embedded in {}
public GetExpression ( ) : AstNode
리턴 AstNode

IsXmlAttribute() 공개 메소드

Returns whether this is part of an xml attribute value
public IsXmlAttribute ( ) : bool
리턴 bool

SetExpression() 공개 메소드

Sets the expression embedded in {}, and sets its parent to this node.
Sets the expression embedded in {}, and sets its parent to this node.
/// if /// expression /// is /// null ///
public SetExpression ( AstNode expression ) : void
expression AstNode
리턴 void

SetIsXmlAttribute() 공개 메소드

Sets whether this is part of an xml attribute value
public SetIsXmlAttribute ( bool isXmlAttribute ) : void
isXmlAttribute bool
리턴 void

ToSource() 공개 메소드

public ToSource ( int depth ) : string
depth int
리턴 string

Visit() 공개 메소드

Visits this node, then the child expression.
Visits this node, then the child expression.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void

XmlExpression() 공개 메소드

public XmlExpression ( ) : Rhino.Ast
리턴 Rhino.Ast

XmlExpression() 공개 메소드

public XmlExpression ( int pos ) : Rhino.Ast
pos int
리턴 Rhino.Ast

XmlExpression() 공개 메소드

public XmlExpression ( int pos, AstNode expr ) : Rhino.Ast
pos int
expr AstNode
리턴 Rhino.Ast

XmlExpression() 공개 메소드

public XmlExpression ( int pos, int len ) : Rhino.Ast
pos int
len int
리턴 Rhino.Ast