C# Class Rhino.Ast.ParseProblem

Encapsulates information for a JavaScript parse error or warning.
Encapsulates information for a JavaScript parse error or warning.
Mostrar archivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
GetFileOffset ( ) : int
GetLength ( ) : int
GetMessage ( ) : string
GetSourceName ( ) : string
GetType ( ) : ParseProblem.Type
ParseProblem ( ParseProblem type, string message, string sourceName, int offset, int length ) : System.Text

Constructs a new ParseProblem.

Constructs a new ParseProblem.

SetFileOffset ( int offset ) : void
SetLength ( int length ) : void
SetMessage ( string msg ) : void
SetSourceName ( string name ) : void
SetType ( ParseProblem type ) : void
ToString ( ) : string

Method Details

GetFileOffset() public method

public GetFileOffset ( ) : int
return int

GetLength() public method

public GetLength ( ) : int
return int

GetMessage() public method

public GetMessage ( ) : string
return string

GetSourceName() public method

public GetSourceName ( ) : string
return string

GetType() public method

public GetType ( ) : ParseProblem.Type
return ParseProblem.Type

ParseProblem() public method

Constructs a new ParseProblem.
Constructs a new ParseProblem.
public ParseProblem ( ParseProblem type, string message, string sourceName, int offset, int length ) : System.Text
type ParseProblem
message string
sourceName string
offset int
length int
return System.Text

SetFileOffset() public method

public SetFileOffset ( int offset ) : void
offset int
return void

SetLength() public method

public SetLength ( int length ) : void
length int
return void

SetMessage() public method

public SetMessage ( string msg ) : void
msg string
return void

SetSourceName() public method

public SetSourceName ( string name ) : void
name string
return void

SetType() public method

public SetType ( ParseProblem type ) : void
type ParseProblem
return void

ToString() public method

public ToString ( ) : string
return string