C# Class Rhino.Ast.Jump

Used for code generation.
Used for code generation. During codegen, the AST is transformed into an Intermediate Representation (IR) in which loops, ifs, switches and other control-flow statements are rewritten as labeled jumps. If the parser is set to IDE-mode, the resulting AST will not contain any instances of this class.
Inheritance: AstNode
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
target Node

Méthodes publiques

Méthode Description
GetContinue ( ) : Node
GetDefault ( ) : Node
GetFinally ( ) : Node
GetJumpStatement ( ) : Jump
GetLoop ( ) : Jump
Jump ( ) : System
Jump ( int nodeType ) : System
Jump ( int type, Node child ) : System
Jump ( int type, Node child, int lineno ) : System
Jump ( int type, int lineno ) : System
SetContinue ( Node continueTarget ) : void
SetDefault ( Node defaultTarget ) : void
SetFinally ( Node finallyTarget ) : void
SetJumpStatement ( Rhino jumpStatement ) : void
SetLoop ( Rhino loop ) : void
ToSource ( int depth ) : string
Visit ( NodeVisitor visitor ) : void

Jumps are only used directly during code generation, and do not support this interface.

Jumps are only used directly during code generation, and do not support this interface.

Method Details

GetContinue() public méthode

public GetContinue ( ) : Node
Résultat Node

GetDefault() public méthode

public GetDefault ( ) : Node
Résultat Node

GetFinally() public méthode

public GetFinally ( ) : Node
Résultat Node

GetJumpStatement() public méthode

public GetJumpStatement ( ) : Jump
Résultat Jump

GetLoop() public méthode

public GetLoop ( ) : Jump
Résultat Jump

Jump() public méthode

public Jump ( ) : System
Résultat System

Jump() public méthode

public Jump ( int nodeType ) : System
nodeType int
Résultat System

Jump() public méthode

public Jump ( int type, Node child ) : System
type int
child Node
Résultat System

Jump() public méthode

public Jump ( int type, Node child, int lineno ) : System
type int
child Node
lineno int
Résultat System

Jump() public méthode

public Jump ( int type, int lineno ) : System
type int
lineno int
Résultat System

SetContinue() public méthode

public SetContinue ( Node continueTarget ) : void
continueTarget Node
Résultat void

SetDefault() public méthode

public SetDefault ( Node defaultTarget ) : void
defaultTarget Node
Résultat void

SetFinally() public méthode

public SetFinally ( Node finallyTarget ) : void
finallyTarget Node
Résultat void

SetJumpStatement() public méthode

public SetJumpStatement ( Rhino jumpStatement ) : void
jumpStatement Rhino
Résultat void

SetLoop() public méthode

public SetLoop ( Rhino loop ) : void
loop Rhino
Résultat void

ToSource() public méthode

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

Visit() public méthode

Jumps are only used directly during code generation, and do not support this interface.
Jumps are only used directly during code generation, and do not support this interface.
System.NotSupportedException
public Visit ( NodeVisitor visitor ) : void
visitor NodeVisitor
Résultat void

Property Details

target public_oe property

public Node target
Résultat Node