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
Mostrar archivo Open project: hazzik/Rhino.Net

Public Methods

Method 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 method

public ErrorNode ( ) : Rhino
return Rhino

ErrorNode() public method

public ErrorNode ( int pos ) : Rhino
pos int
return Rhino

ErrorNode() public method

public ErrorNode ( int pos, int len ) : Rhino
pos int
len int
return Rhino

GetMessage() public method

Returns error message key
public GetMessage ( ) : string
return string

SetMessage() public method

Sets error message key
public SetMessage ( string message ) : void
message string
return void

ToSource() public method

public ToSource ( int depth ) : string
depth int
return string

Visit() public method

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