C# Class 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.
Inheritance: XmlFragment
Afficher le fichier Open project: hazzik/Rhino.Net

Méthodes publiques

Méthode Description
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

Method Details

GetExpression() public méthode

Returns the expression embedded in {}
public GetExpression ( ) : AstNode
Résultat AstNode

IsXmlAttribute() public méthode

Returns whether this is part of an xml attribute value
public IsXmlAttribute ( ) : bool
Résultat bool

SetExpression() public méthode

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
Résultat void

SetIsXmlAttribute() public méthode

Sets whether this is part of an xml attribute value
public SetIsXmlAttribute ( bool isXmlAttribute ) : void
isXmlAttribute bool
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

Visits this node, then the child expression.
Visits this node, then the child expression.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Résultat void

XmlExpression() public méthode

public XmlExpression ( ) : Rhino.Ast
Résultat Rhino.Ast

XmlExpression() public méthode

public XmlExpression ( int pos ) : Rhino.Ast
pos int
Résultat Rhino.Ast

XmlExpression() public méthode

public XmlExpression ( int pos, AstNode expr ) : Rhino.Ast
pos int
expr AstNode
Résultat Rhino.Ast

XmlExpression() public méthode

public XmlExpression ( int pos, int len ) : Rhino.Ast
pos int
len int
Résultat Rhino.Ast