Mercury library  1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Namespaces | Classes | Enumerations
Package Mercury

Namespaces

package  Exceptions
 
package  Interpreting
 
package  Nucleus
 
package  Scanning
 
package  Syntax
 

Classes

class  Analyser< T >
 Wrapper class for each step of analysis More...
 
class  Analyser< T, TResult >
 Wrapper class for each step of analysis. More...
 
class  AnalyserResult< T, TResult >
 Holds the result of analysis.

The fields hold information according to the following table:

More...
 
class  Defaults
 Global class containing cool static / convenience stuff. More...
 
class  Extensions
 Provides extension methods for the Mercury library. More...
 
class  LanguageInfo< T >
 Represents a collection of information required to analyze a language with Mercury Mercury.Analyser{T,TValue}. More...
 

Enumerations

enum  AnalyserStatus {
  AnalyserStatus.Success, AnalyserStatus.TokenizerFail, AnalyserStatus.ScannerFail, AnalyserStatus.ParserFail,
  AnalyserStatus.InterpreterFail, AnalyserStatus.Undefined
}
 The status of analysis. If failed, see FailReason More...
 
enum  FailReason { FailReason.None, FailReason.Exception, FailReason.NoResult }
 Specifies the reason of analysis failure More...
 

Enumeration Type Documentation

The status of analysis. If failed, see FailReason

Enumerator
Success 

The analysis was successful and there is at least one result

TokenizerFail 

Failed to tokenize input

ScannerFail 

Failed to scan input

ParserFail 

Parser failed

InterpreterFail 

Interpreter failed

Undefined 

Undefined error

Definition at line 15 of file AnalyserResult.cs.

Specifies the reason of analysis failure

Enumerator
None 

No failure

Exception 

An exception has been thrown

NoResult 

There was no result in the stage where analysis failed

Definition at line 34 of file AnalyserResult.cs.