메소드 |
설명 |
|
AddUncalled ( FunType cl ) : void |
|
|
Analyze ( string path ) : void |
Main entry to the analyzer |
|
AnalyzerImpl ( IFileSystem fs, ILogger logger, object>.Dictionary options, System.DateTime startTime ) : System |
|
|
AnalyzerImpl ( ILogger logger ) : System |
|
|
ApplyUncalled ( ) : void |
|
|
CreateBinding ( string id, Node node, DataType type, BindingKind kind ) : Binding |
|
|
ExtendPath ( string path, string name ) : string |
|
|
Finish ( ) : void |
|
|
FormatTime ( System.TimeSpan span ) : string |
|
|
GetAllBindings ( ) : List |
|
|
GetDiagnosticsForFile ( string file ) : List |
|
|
GetModuleBindings ( ) : IEnumerable |
|
|
GetModuleQname ( string file ) : string |
|
|
LoadFile ( string path ) : DataType |
|
|
LoadFileRecursive ( string fullname ) : void |
Load all Python source files recursively if the given fullname is a directory; otherwise just load a file. Looks at file extension to determine whether to load a given file. |
|
LoadModule ( List name, State state ) : DataType |
|
|
MakeQname ( List names ) : string |
|
|
ModuleName ( string path ) : string |
Given an absolute {@code path} to a file (not a directory), returns the module name for the file. If the file is an __init__.py, returns the last component of the file's parent directory, else returns the filename without path or extension. |
|
Percent ( long num, long total ) : string |
|
|
RegisterBinding ( Binding b ) : void |
|
|
RemoveUncalled ( FunType f ) : void |
|
|
ToString ( ) : string |
|
|
addFileErr ( string file, int begin, int end, string msg ) : void |
|
|
addPath ( string p ) : void |
|
|
addPaths ( List p ) : void |
|
|
addRef ( AttributeAccess attr, DataType targetType, ISet bs ) : void |
|
|
banner ( string msg ) : string |
|
|
close ( ) : void |
|
|
countFileRecursive ( string fullname ) : int |
Count number of .py files |
|
getAnalysisSummary ( ) : string |
|
|
getAstForFile ( string file ) : Module |
Returns the syntax tree for {@code file}. |
|
getBuiltinModule ( string qname ) : ModuleType |
|
|
getLoadPath ( ) : List |
|
|
getLoadedFiles ( ) : List |
|
|
getReferences ( ) : List>.Dictionary |
|
|
hasOption ( string option ) : bool |
|
|
inImportStack ( object f ) : bool |
|
|
inStack ( Exp f ) : bool |
|
|
locateModule ( string headName ) : string |
Find the path that contains modname. Used to find the starting point of locating a qname. |
|
msg ( string m ) : void |
|
|
msg_ ( string m ) : void |
|
|
popImportStack ( object f ) : void |
|
|
popStack ( Exp f ) : void |
|
|
pushImportStack ( object f ) : void |
|
|
pushStack ( Exp f ) : void |
|
|
putProblem ( Node loc, string msg ) : void |
|
|
putProblem ( string file, int begin, int end, string msg ) : void |
|
|
putRef ( Node node, Binding b ) : void |
|
|
putRef ( Node node, ICollection bs ) : void |
|
|
setCWD ( string cd ) : void |
|
|
setOption ( string option ) : void |
|
|
setPath ( List path ) : void |
|
|