C# Class org.yinwang.pysonar.Parser

Afficher le fichier Open project: uxmal/pytocs

Méthodes publiques

Méthode Description
Parser ( IFileSystem fs ) : System
close ( ) : void
parseFile ( string filename ) : Pytocs.Syntax.Module
parseFileInner ( String filename, Process pythonProcess ) : Pytocs.Syntax.Node
prettyJson ( String json ) : String
startInterpreter ( String pythonExe ) : Process

Private Methods

Méthode Description
cleanTemp ( ) : void
convert ( object o ) : Pytocs.Syntax.Node
segmentQname ( string qname, int start, bool hasLoc ) : List
sendCommand ( String cmd, Process pythonProcess ) : bool
startPythonProcesses ( ) : void

Method Details

Parser() public méthode

public Parser ( IFileSystem fs ) : System
fs IFileSystem
Résultat System

close() public méthode

public close ( ) : void
Résultat void

parseFile() public méthode

public parseFile ( string filename ) : Pytocs.Syntax.Module
filename string
Résultat Pytocs.Syntax.Module

parseFileInner() public méthode

public parseFileInner ( String filename, Process pythonProcess ) : Pytocs.Syntax.Node
filename String
pythonProcess System.Diagnostics.Process
Résultat Pytocs.Syntax.Node

prettyJson() public méthode

public prettyJson ( String json ) : String
json String
Résultat String

startInterpreter() public méthode

public startInterpreter ( String pythonExe ) : Process
pythonExe String
Résultat System.Diagnostics.Process