Свойство | Тип | Описание | |
---|---|---|---|
ModuleTable | |||
options | object>.Dictionary |
Метод | Описание | |
---|---|---|
AddUncalled ( FunType cl ) : void | ||
Analyze ( string path ) : void |
Main entry to the analyzer
|
|
AnalyzerImpl ( IFileSystem fs, ILogger logger, object>.Dictionary |
||
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 |
||
MakeQname ( List |
||
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 |
||
addRef ( AttributeAccess attr, DataType targetType, ISet |
||
banner ( string msg ) : string | ||
close ( ) : void | ||
countFileRecursive ( string fullname ) : int |
Count number of .py files
|
|
getAnalysisSummary ( ) : string | ||
getAstForFile ( string file ) : |
Returns the syntax tree for {@code file}.
|
|
getBuiltinModule ( string qname ) : ModuleType | ||
getLoadPath ( ) : List |
||
getLoadedFiles ( ) : List |
||
getReferences ( ) : List |
||
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 |
||
setCWD ( string cd ) : void | ||
setOption ( string option ) : void | ||
setPath ( List |
Метод | Описание | |
---|---|---|
AddPythonPath ( ) : void | ||
CopyModels ( ) : void | ||
CreateCacheDirectory ( ) : void | ||
GetAstCache ( ) : |
||
GetCachedModule ( string file ) : ModuleType | ||
getFileErrs ( string file, Dictionary |
||
parseAndResolve ( string file ) : DataType |
public AnalyzerImpl ( IFileSystem fs, ILogger logger, object>.Dictionary |
||
fs | IFileSystem | |
logger | ILogger | |
options | object>.Dictionary | |
startTime | System.DateTime | |
Результат | System |
public AnalyzerImpl ( ILogger logger ) : System | ||
logger | ILogger | |
Результат | System |
public CreateBinding ( string id, Node node, DataType type, BindingKind kind ) : Binding | ||
id | string | |
node | Node | |
type | DataType | |
kind | BindingKind | |
Результат | Binding |
public ExtendPath ( string path, string name ) : string | ||
path | string | |
name | string | |
Результат | string |
public FormatTime ( System.TimeSpan span ) : string | ||
span | System.TimeSpan | |
Результат | string |
public GetDiagnosticsForFile ( string file ) : List |
||
file | string | |
Результат | List |
public GetModuleBindings ( ) : IEnumerable |
||
Результат | IEnumerable |
public GetModuleQname ( string file ) : string | ||
file | string | |
Результат | string |
public LoadFile ( string path ) : DataType | ||
path | string | |
Результат | DataType |
public LoadFileRecursive ( string fullname ) : void | ||
fullname | string | |
Результат | void |
public LoadModule ( List |
||
name | List |
|
state | ||
Результат | DataType |
public ModuleName ( string path ) : string | ||
path | string | |
Результат | string |
public Percent ( long num, long total ) : string | ||
num | long | |
total | long | |
Результат | string |
public RegisterBinding ( Binding b ) : void | ||
b | Binding | |
Результат | void |
public RemoveUncalled ( FunType f ) : void | ||
f | FunType | |
Результат | void |
public addFileErr ( string file, int begin, int end, string msg ) : void | ||
file | string | |
begin | int | |
end | int | |
msg | string | |
Результат | void |
public addRef ( AttributeAccess attr, DataType targetType, ISet |
||
attr | AttributeAccess | |
targetType | DataType | |
bs | ISet |
|
Результат | void |
public countFileRecursive ( string fullname ) : int | ||
fullname | string | |
Результат | int |
public getAstForFile ( string file ) : |
||
file | string | |
Результат |
public getBuiltinModule ( string qname ) : ModuleType | ||
qname | string | |
Результат | ModuleType |
public getReferences ( ) : List |
||
Результат | List |
public locateModule ( string headName ) : string | ||
headName | string | first module name segment |
Результат | string |
public pushImportStack ( object f ) : void | ||
f | object | |
Результат | void |
public putProblem ( Node loc, string msg ) : void | ||
loc | Node | |
msg | string | |
Результат | void |
public putProblem ( string file, int begin, int end, string msg ) : void | ||
file | string | |
begin | int | |
end | int | |
msg | string | |
Результат | void |
public putRef ( Node node, Binding b ) : void | ||
node | Node | |
b | Binding | |
Результат | void |
public putRef ( Node node, ICollection |
||
node | Node | |
bs | ICollection |
|
Результат | void |