C# Class Interpreter

Afficher le fichier Open project: oleg-shilo/cs-script Class Usage Examples

Méthodes publiques

Свойство Type Description
Console IConsole
returnsValue bool

Méthodes publiques

Méthode Description
AddNamespace ( string ns ) : void
AddReference ( string r ) : void
DefaultIncludeFile ( ) : string
FullExecutablePath ( ) : string
Interpreter ( ) : System
ProcessLine ( string line ) : bool
ReadIncludeFile ( string file ) : void
SetValue ( string name, object val ) : void

Private Methods

Méthode Description
CompileLine ( string codeStr, CHash type, string assemblyName, string className ) : CompilerResults
CompileTemplate ( CompilerParameters cp, string codeStr, CHash type, string className ) : CompilerResults
ExecuteLine ( string codeStr ) : void
GetPublicRuntimeType ( object symVal ) : Type
MassageInput ( string s, bool &wasAssignment ) : string
ProcessCommand ( string line ) : void
ShowErrors ( CompilerResults cr, string codeStr ) : void
firstToken ( string s ) : string
word_within ( string s, string strs ) : bool

Method Details

AddNamespace() public méthode

public AddNamespace ( string ns ) : void
ns string
Résultat void

AddReference() public méthode

public AddReference ( string r ) : void
r string
Résultat void

DefaultIncludeFile() public méthode

public DefaultIncludeFile ( ) : string
Résultat string

FullExecutablePath() public méthode

public FullExecutablePath ( ) : string
Résultat string

Interpreter() public méthode

public Interpreter ( ) : System
Résultat System

ProcessLine() public méthode

public ProcessLine ( string line ) : bool
line string
Résultat bool

ReadIncludeFile() public méthode

public ReadIncludeFile ( string file ) : void
file string
Résultat void

SetValue() public méthode

public SetValue ( string name, object val ) : void
name string
val object
Résultat void

Property Details

Console public_oe static_oe property

public static IConsole Console
Résultat IConsole

returnsValue public_oe property

public bool returnsValue
Résultat bool