crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
detectors
/
python
/
python.go
Search
History
269 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
environItem
language
importsQuery
environmentVariableQuery
detector
idGenerator
:
nodeid.Generator
pyImport
module
:
string
alias
:
string
item
:
string
New
(idGenerator nodeid.Generator)
:
types.Detector
ProcessRaw
(file *file.FileInfo, report report.Report, input []byte, offset int, idGenerator nodeid.Generator)
:
(bool, error)
processTree
(tree *parser.Tree, report report.Report)
:
(bool, error)
annotate
(tree *parser.Tree)
:
error
annotateEnvironmentVariables
(tree *parser.Tree)
:
error
isEnvironmentVarCall
(environImports []string, item string)
:
bool
stripQuotes
(value string)
:
string
getImports
(tree *parser.Tree)
:
([]pyImport, error)
getEnvironImports
(imports []pyImport)
:
[]string
acceptExpression
(node *parser.Node)
:
bool
*detector
AcceptDir
(dir *file.Path)
:
(bool, error)
ProcessFile
(file *file.FileInfo, dir *file.Path, report report.Report)
:
(bool, error)
All occurrences
Please wait...
Page is in error, reload to recover