C# Class Rhino.Ast.ParseProblem

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

Méthodes publiques

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

public GetFileOffset ( ) : int
Résultat int

GetLength() public méthode

public GetLength ( ) : int
Résultat int

GetMessage() public méthode

public GetMessage ( ) : string
Résultat string

GetSourceName() public méthode

public GetSourceName ( ) : string
Résultat string

GetType() public méthode

public GetType ( ) : ParseProblem.Type
Résultat ParseProblem.Type

ParseProblem() public méthode

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
Résultat System.Text

SetFileOffset() public méthode

public SetFileOffset ( int offset ) : void
offset int
Résultat void

SetLength() public méthode

public SetLength ( int length ) : void
length int
Résultat void

SetMessage() public méthode

public SetMessage ( string msg ) : void
msg string
Résultat void

SetSourceName() public méthode

public SetSourceName ( string name ) : void
name string
Résultat void

SetType() public méthode

public SetType ( ParseProblem type ) : void
type ParseProblem
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string