C# Class Rhino.Ast.ErrorNode

AST node representing a parse error or a warning.
AST node representing a parse error or a warning. Node type is Rhino.Token.ERROR .

Inheritance: AstNode
Afficher le fichier Open project: hazzik/Rhino.Net

Méthodes publiques

Méthode Description
ErrorNode ( ) : Rhino
ErrorNode ( int pos ) : Rhino
ErrorNode ( int pos, int len ) : Rhino
GetMessage ( ) : string

Returns error message key

SetMessage ( string message ) : void

Sets error message key

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

Error nodes are not visited during normal visitor traversals, but comply with the AstNode.Visit(NodeVisitor) interface.

Method Details

ErrorNode() public méthode

public ErrorNode ( ) : Rhino
Résultat Rhino

ErrorNode() public méthode

public ErrorNode ( int pos ) : Rhino
pos int
Résultat Rhino

ErrorNode() public méthode

public ErrorNode ( int pos, int len ) : Rhino
pos int
len int
Résultat Rhino

GetMessage() public méthode

Returns error message key
public GetMessage ( ) : string
Résultat string

SetMessage() public méthode

Sets error message key
public SetMessage ( string message ) : void
message string
Résultat void

ToSource() public méthode

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

Visit() public méthode

Error nodes are not visited during normal visitor traversals, but comply with the AstNode.Visit(NodeVisitor) interface.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Résultat void