Documentation ¶
Index ¶
Constants ¶
View Source
const ( FunctionDeclEntity = "function_decl" FunctionDeclPropertyName = "name" FunctionDeclPropertyContainerName = "containerName" FunctionDeclPropertySourceFilePath = "sourceFilePath" FunctionDeclPropertySourceFileType = "sourceFileType" )
View Source
const ( // The entity type PackageEntity = "package" // Entity specific constants PackageEntitySourceTypeApp = "app" PackageEntitySourceTypeImport = "import" // Property names PackagePropertyName = "name" PackagePropertySourceFilePath = "sourceFilePath" PackagePropertySourceFileType = "sourceFileType" // Relationship names PackageRelationshipImports = "imports" PackageRelationshipDeclaresFunction = "declares_function" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionDecl ¶
type FunctionDecl struct { Id string ContainerName string FunctionName string SourceFilePath string SourceFileType string }
func (*FunctionDecl) Properties ¶
func (f *FunctionDecl) Properties() map[string]string
type Package ¶
func (*Package) DeclaresFunction ¶
func (p *Package) DeclaresFunction(fn *FunctionDecl) *graph.Edge
func (*Package) Properties ¶
Click to show internal directories.
Click to hide internal directories.