C# Class CSScriptCompilers.CCSharpParser

Extremely light/primitive parser
Afficher le fichier Open project: oleg-shilo/cs-script Class Usage Examples

Méthodes publiques

Свойство Type Description
isClassless bool

Méthodes publiques

Méthode Description
CCSharpParser ( string file ) : System
GenerateCode ( string rootMethodName ) : string
ToTempFile ( bool imported ) : string

Private Methods

Méthode Description
FixString ( string text ) : string
IsClasslessCode ( string rawCode ) : bool
IsDeclaration ( string code ) : bool
IsMethodDeclaration ( string code ) : bool
IsToken ( string text, int start, int length ) : bool
IsUsingDirective ( string code ) : bool
ProcessIfMarkedAsClassless ( string rawCode ) : bool

Method Details

CCSharpParser() public méthode

public CCSharpParser ( string file ) : System
file string
Résultat System

GenerateCode() public méthode

public GenerateCode ( string rootMethodName ) : string
rootMethodName string
Résultat string

ToTempFile() public méthode

public ToTempFile ( bool imported ) : string
imported bool
Résultat string

Property Details

isClassless public_oe property

public bool isClassless
Résultat bool