C# Class Prebuild.Core.Parse.Preprocessor

Show file Open project: aurora-sim/Aurora-Libs

Public Methods

Method Description
GetOS ( ) : string

Parts of this code were taken from NAnt and is subject to the GPL as per NAnt's license. Thanks to the NAnt guys for this little gem.

Preprocessor ( ) : System

Initializes a new instance of the Preprocessor class.

Process ( XmlReader initialReader ) : string

Performs validation on the xml source as well as evaluates conditional and flow expresions

RegisterVariable ( string name, object variableValue ) : void

Private Methods

Method Description
CompareNum ( OperatorSymbol oper, int val1, int val2 ) : bool
CompareStr ( OperatorSymbol oper, string val1, string val2 ) : bool
NextChar ( int idx, string str ) : char
ParseExpression ( string exp ) : bool
WildCardInclude ( Stack readerStack, string include ) : void

Taken from current Prebuild included in OpenSim 0.7.x

Method Details

GetOS() public static method

Parts of this code were taken from NAnt and is subject to the GPL as per NAnt's license. Thanks to the NAnt guys for this little gem.
public static GetOS ( ) : string
return string

Preprocessor() public method

Initializes a new instance of the Preprocessor class.
public Preprocessor ( ) : System
return System

Process() public method

Performs validation on the xml source as well as evaluates conditional and flow expresions
For invalid use of conditional expressions or for invalid XML syntax. If a XmlValidatingReader is passed, then will also throw exceptions for non-schema-conforming xml
public Process ( XmlReader initialReader ) : string
initialReader XmlReader
return string

RegisterVariable() public method

public RegisterVariable ( string name, object variableValue ) : void
name string
variableValue object
return void