Documentation ¶
Index ¶
- Variables
- type Analyze
- func (*Analyze) Descriptor() ([]byte, []int)deprecated
- func (x *Analyze) GetComplexity() *Complexity
- func (x *Analyze) GetCoupling() *Coupling
- func (x *Analyze) GetMaintainability() *Maintainability
- func (x *Analyze) GetRisk() *Risk
- func (x *Analyze) GetVolume() *Volume
- func (*Analyze) ProtoMessage()
- func (x *Analyze) ProtoReflect() protoreflect.Message
- func (x *Analyze) Reset()
- func (x *Analyze) String() string
- type Commit
- type Commits
- func (*Commits) Descriptor() ([]byte, []int)deprecated
- func (x *Commits) GetCommits() []*Commit
- func (x *Commits) GetCount() int32
- func (x *Commits) GetCountCommiters() int32
- func (*Commits) ProtoMessage()
- func (x *Commits) ProtoReflect() protoreflect.Message
- func (x *Commits) Reset()
- func (x *Commits) String() string
- type Complexity
- type Coupling
- func (*Coupling) Descriptor() ([]byte, []int)deprecated
- func (x *Coupling) GetAfferent() int32
- func (x *Coupling) GetEfferent() int32
- func (x *Coupling) GetInstability() float32
- func (*Coupling) ProtoMessage()
- func (x *Coupling) ProtoReflect() protoreflect.Message
- func (x *Coupling) Reset()
- func (x *Coupling) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetCommits() *Commits
- func (x *File) GetErrors() []string
- func (x *File) GetLinesOfCode() *LinesOfCode
- func (x *File) GetPath() string
- func (x *File) GetProgrammingLanguage() string
- func (x *File) GetStmts() *Stmts
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type LinesOfCode
- func (*LinesOfCode) Descriptor() ([]byte, []int)deprecated
- func (x *LinesOfCode) GetCommentLinesOfCode() int32
- func (x *LinesOfCode) GetLinesOfCode() int32
- func (x *LinesOfCode) GetLogicalLinesOfCode() int32
- func (x *LinesOfCode) GetNonCommentLinesOfCode() int32
- func (*LinesOfCode) ProtoMessage()
- func (x *LinesOfCode) ProtoReflect() protoreflect.Message
- func (x *LinesOfCode) Reset()
- func (x *LinesOfCode) String() string
- type Maintainability
- func (*Maintainability) Descriptor() ([]byte, []int)deprecated
- func (x *Maintainability) GetCommentWeight() float32
- func (x *Maintainability) GetMaintainabilityIndex() float32
- func (x *Maintainability) GetMaintainabilityIndexWithoutComments() float32
- func (*Maintainability) ProtoMessage()
- func (x *Maintainability) ProtoReflect() protoreflect.Message
- func (x *Maintainability) Reset()
- func (x *Maintainability) String() string
- type Name
- func (*Name) Descriptor() ([]byte, []int)deprecated
- func (x *Name) GetDescriber() string
- func (x *Name) GetPackage() string
- func (x *Name) GetQualified() string
- func (x *Name) GetShort() string
- func (*Name) ProtoMessage()
- func (x *Name) ProtoReflect() protoreflect.Message
- func (x *Name) Reset()
- func (x *Name) String() string
- type Risk
- type StmtClass
- func (*StmtClass) Descriptor() ([]byte, []int)deprecated
- func (x *StmtClass) GetComments() []*StmtComment
- func (x *StmtClass) GetExtends() []*Name
- func (x *StmtClass) GetImplements() []*Name
- func (x *StmtClass) GetLinesOfCode() *LinesOfCode
- func (x *StmtClass) GetLocation() *StmtLocationInFile
- func (x *StmtClass) GetName() *Name
- func (x *StmtClass) GetOperands() []*StmtOperand
- func (x *StmtClass) GetOperators() []*StmtOperator
- func (x *StmtClass) GetStmts() *Stmts
- func (x *StmtClass) GetUses() []*Name
- func (*StmtClass) ProtoMessage()
- func (x *StmtClass) ProtoReflect() protoreflect.Message
- func (x *StmtClass) Reset()
- func (x *StmtClass) String() string
- type StmtComment
- func (*StmtComment) Descriptor() ([]byte, []int)deprecated
- func (x *StmtComment) GetLocation() *StmtLocationInFile
- func (x *StmtComment) GetText() string
- func (*StmtComment) ProtoMessage()
- func (x *StmtComment) ProtoReflect() protoreflect.Message
- func (x *StmtComment) Reset()
- func (x *StmtComment) String() string
- type StmtDecisionCase
- func (*StmtDecisionCase) Descriptor() ([]byte, []int)deprecated
- func (x *StmtDecisionCase) GetLocation() *StmtLocationInFile
- func (x *StmtDecisionCase) GetStmts() *Stmts
- func (*StmtDecisionCase) ProtoMessage()
- func (x *StmtDecisionCase) ProtoReflect() protoreflect.Message
- func (x *StmtDecisionCase) Reset()
- func (x *StmtDecisionCase) String() string
- type StmtDecisionElse
- func (*StmtDecisionElse) Descriptor() ([]byte, []int)deprecated
- func (x *StmtDecisionElse) GetLocation() *StmtLocationInFile
- func (x *StmtDecisionElse) GetStmts() *Stmts
- func (*StmtDecisionElse) ProtoMessage()
- func (x *StmtDecisionElse) ProtoReflect() protoreflect.Message
- func (x *StmtDecisionElse) Reset()
- func (x *StmtDecisionElse) String() string
- type StmtDecisionElseIf
- func (*StmtDecisionElseIf) Descriptor() ([]byte, []int)deprecated
- func (x *StmtDecisionElseIf) GetLocation() *StmtLocationInFile
- func (x *StmtDecisionElseIf) GetStmts() *Stmts
- func (*StmtDecisionElseIf) ProtoMessage()
- func (x *StmtDecisionElseIf) ProtoReflect() protoreflect.Message
- func (x *StmtDecisionElseIf) Reset()
- func (x *StmtDecisionElseIf) String() string
- type StmtDecisionIf
- func (*StmtDecisionIf) Descriptor() ([]byte, []int)deprecated
- func (x *StmtDecisionIf) GetLocation() *StmtLocationInFile
- func (x *StmtDecisionIf) GetStmts() *Stmts
- func (*StmtDecisionIf) ProtoMessage()
- func (x *StmtDecisionIf) ProtoReflect() protoreflect.Message
- func (x *StmtDecisionIf) Reset()
- func (x *StmtDecisionIf) String() string
- type StmtDecisionSwitch
- func (*StmtDecisionSwitch) Descriptor() ([]byte, []int)deprecated
- func (x *StmtDecisionSwitch) GetLocation() *StmtLocationInFile
- func (x *StmtDecisionSwitch) GetStmts() *Stmts
- func (*StmtDecisionSwitch) ProtoMessage()
- func (x *StmtDecisionSwitch) ProtoReflect() protoreflect.Message
- func (x *StmtDecisionSwitch) Reset()
- func (x *StmtDecisionSwitch) String() string
- type StmtExternalDependency
- func (*StmtExternalDependency) Descriptor() ([]byte, []int)deprecated
- func (x *StmtExternalDependency) GetClassName() string
- func (x *StmtExternalDependency) GetFrom() string
- func (x *StmtExternalDependency) GetFunctionName() string
- func (x *StmtExternalDependency) GetNamespace() string
- func (*StmtExternalDependency) ProtoMessage()
- func (x *StmtExternalDependency) ProtoReflect() protoreflect.Message
- func (x *StmtExternalDependency) Reset()
- func (x *StmtExternalDependency) String() string
- type StmtFunction
- func (*StmtFunction) Descriptor() ([]byte, []int)deprecated
- func (x *StmtFunction) GetComments() []*StmtComment
- func (x *StmtFunction) GetExternals() []*Name
- func (x *StmtFunction) GetLinesOfCode() *LinesOfCode
- func (x *StmtFunction) GetLocation() *StmtLocationInFile
- func (x *StmtFunction) GetName() *Name
- func (x *StmtFunction) GetOperands() []*StmtOperand
- func (x *StmtFunction) GetOperators() []*StmtOperator
- func (x *StmtFunction) GetParameters() []*StmtParameter
- func (x *StmtFunction) GetStmts() *Stmts
- func (*StmtFunction) ProtoMessage()
- func (x *StmtFunction) ProtoReflect() protoreflect.Message
- func (x *StmtFunction) Reset()
- func (x *StmtFunction) String() string
- type StmtInterface
- func (*StmtInterface) Descriptor() ([]byte, []int)deprecated
- func (x *StmtInterface) GetExtends() []*Name
- func (x *StmtInterface) GetLocation() *StmtLocationInFile
- func (x *StmtInterface) GetName() *Name
- func (x *StmtInterface) GetStmts() *Stmts
- func (*StmtInterface) ProtoMessage()
- func (x *StmtInterface) ProtoReflect() protoreflect.Message
- func (x *StmtInterface) Reset()
- func (x *StmtInterface) String() string
- type StmtLocationInFile
- func (*StmtLocationInFile) Descriptor() ([]byte, []int)deprecated
- func (x *StmtLocationInFile) GetBlankLines() int32
- func (x *StmtLocationInFile) GetEndFilePos() int32
- func (x *StmtLocationInFile) GetEndLine() int32
- func (x *StmtLocationInFile) GetStartFilePos() int32
- func (x *StmtLocationInFile) GetStartLine() int32
- func (*StmtLocationInFile) ProtoMessage()
- func (x *StmtLocationInFile) ProtoReflect() protoreflect.Message
- func (x *StmtLocationInFile) Reset()
- func (x *StmtLocationInFile) String() string
- type StmtLoop
- type StmtNamespace
- func (*StmtNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *StmtNamespace) GetLinesOfCode() *LinesOfCode
- func (x *StmtNamespace) GetLocation() *StmtLocationInFile
- func (x *StmtNamespace) GetName() *Name
- func (x *StmtNamespace) GetStmts() *Stmts
- func (*StmtNamespace) ProtoMessage()
- func (x *StmtNamespace) ProtoReflect() protoreflect.Message
- func (x *StmtNamespace) Reset()
- func (x *StmtNamespace) String() string
- type StmtOperand
- type StmtOperator
- type StmtParameter
- func (*StmtParameter) Descriptor() ([]byte, []int)deprecated
- func (x *StmtParameter) GetName() string
- func (x *StmtParameter) GetType() string
- func (*StmtParameter) ProtoMessage()
- func (x *StmtParameter) ProtoReflect() protoreflect.Message
- func (x *StmtParameter) Reset()
- func (x *StmtParameter) String() string
- type StmtTrait
- func (*StmtTrait) Descriptor() ([]byte, []int)deprecated
- func (x *StmtTrait) GetLocation() *StmtLocationInFile
- func (x *StmtTrait) GetName() *Name
- func (x *StmtTrait) GetStmts() *Stmts
- func (*StmtTrait) ProtoMessage()
- func (x *StmtTrait) ProtoReflect() protoreflect.Message
- func (x *StmtTrait) Reset()
- func (x *StmtTrait) String() string
- type StmtUse
- func (*StmtUse) Descriptor() ([]byte, []int)deprecated
- func (x *StmtUse) GetLocation() *StmtLocationInFile
- func (x *StmtUse) GetName() *Name
- func (x *StmtUse) GetStmts() *Stmts
- func (*StmtUse) ProtoMessage()
- func (x *StmtUse) ProtoReflect() protoreflect.Message
- func (x *StmtUse) Reset()
- func (x *StmtUse) String() string
- type Stmts
- func (*Stmts) Descriptor() ([]byte, []int)deprecated
- func (x *Stmts) GetAnalyze() *Analyze
- func (x *Stmts) GetStmtClass() []*StmtClass
- func (x *Stmts) GetStmtDecisionCase() []*StmtDecisionCase
- func (x *Stmts) GetStmtDecisionElse() []*StmtDecisionElse
- func (x *Stmts) GetStmtDecisionElseIf() []*StmtDecisionElseIf
- func (x *Stmts) GetStmtDecisionIf() []*StmtDecisionIf
- func (x *Stmts) GetStmtDecisionSwitch() []*StmtDecisionSwitch
- func (x *Stmts) GetStmtExternalDependencies() []*StmtExternalDependency
- func (x *Stmts) GetStmtFunction() []*StmtFunction
- func (x *Stmts) GetStmtInterface() []*StmtInterface
- func (x *Stmts) GetStmtLoop() []*StmtLoop
- func (x *Stmts) GetStmtNamespace() []*StmtNamespace
- func (x *Stmts) GetStmtTrait() []*StmtTrait
- func (x *Stmts) GetStmtUse() []*StmtUse
- func (*Stmts) ProtoMessage()
- func (x *Stmts) ProtoReflect() protoreflect.Message
- func (x *Stmts) Reset()
- func (x *Stmts) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetCloc() int32
- func (x *Volume) GetHalsteadDifficulty() float32
- func (x *Volume) GetHalsteadEffort() float32
- func (x *Volume) GetHalsteadEstimatedLength() float32
- func (x *Volume) GetHalsteadLength() int32
- func (x *Volume) GetHalsteadTime() float32
- func (x *Volume) GetHalsteadVocabulary() int32
- func (x *Volume) GetHalsteadVolume() float32
- func (x *Volume) GetLloc() int32
- func (x *Volume) GetLoc() int32
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_NodeType_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Analyze ¶
type Analyze struct { Complexity *Complexity `protobuf:"bytes,1,opt,name=complexity,proto3" json:"complexity,omitempty"` Volume *Volume `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` Maintainability *Maintainability `protobuf:"bytes,3,opt,name=maintainability,proto3" json:"maintainability,omitempty"` Risk *Risk `protobuf:"bytes,4,opt,name=risk,proto3" json:"risk,omitempty"` Coupling *Coupling `protobuf:"bytes,5,opt,name=coupling,proto3" json:"coupling,omitempty"` // contains filtered or unexported fields }
------------------------------------ -- Metrics ------------------------------------ Represents The storage of all the metrics
func (*Analyze) Descriptor
deprecated
func (*Analyze) GetComplexity ¶
func (x *Analyze) GetComplexity() *Complexity
func (*Analyze) GetCoupling ¶
func (*Analyze) GetMaintainability ¶
func (x *Analyze) GetMaintainability() *Maintainability
func (*Analyze) ProtoMessage ¶
func (*Analyze) ProtoMessage()
func (*Analyze) ProtoReflect ¶
func (x *Analyze) ProtoReflect() protoreflect.Message
type Commit ¶
type Commit struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` Date int64 `protobuf:"varint,3,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type Commits ¶
type Commits struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` CountCommiters int32 `protobuf:"varint,2,opt,name=countCommiters,proto3" json:"countCommiters,omitempty"` Commits []*Commit `protobuf:"bytes,3,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
------------------------------------ -- SCM ------------------------------------
func (*Commits) Descriptor
deprecated
func (*Commits) GetCommits ¶
func (*Commits) GetCountCommiters ¶
func (*Commits) ProtoMessage ¶
func (*Commits) ProtoMessage()
func (*Commits) ProtoReflect ¶
func (x *Commits) ProtoReflect() protoreflect.Message
type Complexity ¶
type Complexity struct { Cyclomatic *int32 `protobuf:"varint,1,opt,name=cyclomatic,proto3,oneof" json:"cyclomatic,omitempty"` // contains filtered or unexported fields }
func (*Complexity) Descriptor
deprecated
func (*Complexity) Descriptor() ([]byte, []int)
Deprecated: Use Complexity.ProtoReflect.Descriptor instead.
func (*Complexity) GetCyclomatic ¶
func (x *Complexity) GetCyclomatic() int32
func (*Complexity) ProtoMessage ¶
func (*Complexity) ProtoMessage()
func (*Complexity) ProtoReflect ¶
func (x *Complexity) ProtoReflect() protoreflect.Message
func (*Complexity) Reset ¶
func (x *Complexity) Reset()
func (*Complexity) String ¶
func (x *Complexity) String() string
type Coupling ¶
type Coupling struct { Afferent int32 `protobuf:"varint,1,opt,name=afferent,proto3" json:"afferent,omitempty"` // number of classes that depends on this class Efferent int32 `protobuf:"varint,2,opt,name=efferent,proto3" json:"efferent,omitempty"` // number of classes that this class depends on Instability float32 `protobuf:"fixed32,3,opt,name=instability,proto3" json:"instability,omitempty"` // instability of the class // contains filtered or unexported fields }
------------------------------------ -- Coupling ------------------------------------
func (*Coupling) Descriptor
deprecated
func (*Coupling) GetAfferent ¶
func (*Coupling) GetEfferent ¶
func (*Coupling) GetInstability ¶
func (*Coupling) ProtoMessage ¶
func (*Coupling) ProtoMessage()
func (*Coupling) ProtoReflect ¶
func (x *Coupling) ProtoReflect() protoreflect.Message
type File ¶
type File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` LinesOfCode *LinesOfCode `protobuf:"bytes,3,opt,name=linesOfCode,proto3" json:"linesOfCode,omitempty"` ProgrammingLanguage string `protobuf:"bytes,4,opt,name=programmingLanguage,proto3" json:"programmingLanguage,omitempty"` Commits *Commits `protobuf:"bytes,5,opt,name=commits,proto3" json:"commits,omitempty"` Errors []string `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
Represents a file
func (*File) Descriptor
deprecated
func (*File) GetCommits ¶
func (*File) GetLinesOfCode ¶
func (x *File) GetLinesOfCode() *LinesOfCode
func (*File) GetProgrammingLanguage ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type LinesOfCode ¶
type LinesOfCode struct { LinesOfCode int32 `protobuf:"varint,1,opt,name=linesOfCode,proto3" json:"linesOfCode,omitempty"` LogicalLinesOfCode int32 `protobuf:"varint,2,opt,name=logicalLinesOfCode,proto3" json:"logicalLinesOfCode,omitempty"` CommentLinesOfCode int32 `protobuf:"varint,3,opt,name=commentLinesOfCode,proto3" json:"commentLinesOfCode,omitempty"` NonCommentLinesOfCode int32 `protobuf:"varint,4,opt,name=nonCommentLinesOfCode,proto3" json:"nonCommentLinesOfCode,omitempty"` // contains filtered or unexported fields }
------------------------------------ -- Volume: LinesOfCode ------------------------------------
func (*LinesOfCode) Descriptor
deprecated
func (*LinesOfCode) Descriptor() ([]byte, []int)
Deprecated: Use LinesOfCode.ProtoReflect.Descriptor instead.
func (*LinesOfCode) GetCommentLinesOfCode ¶
func (x *LinesOfCode) GetCommentLinesOfCode() int32
func (*LinesOfCode) GetLinesOfCode ¶
func (x *LinesOfCode) GetLinesOfCode() int32
func (*LinesOfCode) GetLogicalLinesOfCode ¶
func (x *LinesOfCode) GetLogicalLinesOfCode() int32
func (*LinesOfCode) GetNonCommentLinesOfCode ¶
func (x *LinesOfCode) GetNonCommentLinesOfCode() int32
func (*LinesOfCode) ProtoMessage ¶
func (*LinesOfCode) ProtoMessage()
func (*LinesOfCode) ProtoReflect ¶
func (x *LinesOfCode) ProtoReflect() protoreflect.Message
func (*LinesOfCode) Reset ¶
func (x *LinesOfCode) Reset()
func (*LinesOfCode) String ¶
func (x *LinesOfCode) String() string
type Maintainability ¶
type Maintainability struct { MaintainabilityIndex *float32 `protobuf:"fixed32,1,opt,name=maintainabilityIndex,proto3,oneof" json:"maintainabilityIndex,omitempty"` MaintainabilityIndexWithoutComments *float32 `` /* 131-byte string literal not displayed */ CommentWeight *float32 `protobuf:"fixed32,3,opt,name=commentWeight,proto3,oneof" json:"commentWeight,omitempty"` // contains filtered or unexported fields }
func (*Maintainability) Descriptor
deprecated
func (*Maintainability) Descriptor() ([]byte, []int)
Deprecated: Use Maintainability.ProtoReflect.Descriptor instead.
func (*Maintainability) GetCommentWeight ¶
func (x *Maintainability) GetCommentWeight() float32
func (*Maintainability) GetMaintainabilityIndex ¶
func (x *Maintainability) GetMaintainabilityIndex() float32
func (*Maintainability) GetMaintainabilityIndexWithoutComments ¶
func (x *Maintainability) GetMaintainabilityIndexWithoutComments() float32
func (*Maintainability) ProtoMessage ¶
func (*Maintainability) ProtoMessage()
func (*Maintainability) ProtoReflect ¶
func (x *Maintainability) ProtoReflect() protoreflect.Message
func (*Maintainability) Reset ¶
func (x *Maintainability) Reset()
func (*Maintainability) String ¶
func (x *Maintainability) String() string
type Name ¶
type Name struct { Short string `protobuf:"bytes,1,opt,name=short,proto3" json:"short,omitempty"` Qualified string `protobuf:"bytes,2,opt,name=qualified,proto3" json:"qualified,omitempty"` // fully qualified name (with namespace) Describer string `protobuf:"bytes,3,opt,name=describer,proto3" json:"describer,omitempty"` // internal description of statement (e.g. for function: return type + name + parameters) Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` // package name // contains filtered or unexported fields }
------------------------------------ -- Node Types and statements ------------------------------------ represents an identifier (name)
func (*Name) Descriptor
deprecated
func (*Name) GetDescriber ¶
func (*Name) GetPackage ¶ added in v0.15.0
func (*Name) GetQualified ¶
func (*Name) ProtoMessage ¶
func (*Name) ProtoMessage()
func (*Name) ProtoReflect ¶
func (x *Name) ProtoReflect() protoreflect.Message
type Risk ¶
type Risk struct { Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` // score of risk. Lower is better // contains filtered or unexported fields }
------------------------------------ -- Risk ------------------------------------
func (*Risk) Descriptor
deprecated
func (*Risk) ProtoMessage ¶
func (*Risk) ProtoMessage()
func (*Risk) ProtoReflect ¶
func (x *Risk) ProtoReflect() protoreflect.Message
type StmtClass ¶
type StmtClass struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Comments []*StmtComment `protobuf:"bytes,4,rep,name=comments,proto3" json:"comments,omitempty"` Operators []*StmtOperator `protobuf:"bytes,5,rep,name=operators,proto3" json:"operators,omitempty"` Operands []*StmtOperand `protobuf:"bytes,6,rep,name=operands,proto3" json:"operands,omitempty"` Extends []*Name `protobuf:"bytes,7,rep,name=extends,proto3" json:"extends,omitempty"` Implements []*Name `protobuf:"bytes,8,rep,name=implements,proto3" json:"implements,omitempty"` Uses []*Name `protobuf:"bytes,9,rep,name=uses,proto3" json:"uses,omitempty"` LinesOfCode *LinesOfCode `protobuf:"bytes,10,opt,name=linesOfCode,proto3" json:"linesOfCode,omitempty"` // contains filtered or unexported fields }
Represents a Class node.
func (*StmtClass) Descriptor
deprecated
func (*StmtClass) GetComments ¶
func (x *StmtClass) GetComments() []*StmtComment
func (*StmtClass) GetExtends ¶
func (*StmtClass) GetImplements ¶
func (*StmtClass) GetLinesOfCode ¶
func (x *StmtClass) GetLinesOfCode() *LinesOfCode
func (*StmtClass) GetLocation ¶
func (x *StmtClass) GetLocation() *StmtLocationInFile
func (*StmtClass) GetOperands ¶
func (x *StmtClass) GetOperands() []*StmtOperand
func (*StmtClass) GetOperators ¶
func (x *StmtClass) GetOperators() []*StmtOperator
func (*StmtClass) ProtoMessage ¶
func (*StmtClass) ProtoMessage()
func (*StmtClass) ProtoReflect ¶
func (x *StmtClass) ProtoReflect() protoreflect.Message
type StmtComment ¶
type StmtComment struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a comment (multiline or singline)
func (*StmtComment) Descriptor
deprecated
func (*StmtComment) Descriptor() ([]byte, []int)
Deprecated: Use StmtComment.ProtoReflect.Descriptor instead.
func (*StmtComment) GetLocation ¶
func (x *StmtComment) GetLocation() *StmtLocationInFile
func (*StmtComment) GetText ¶
func (x *StmtComment) GetText() string
func (*StmtComment) ProtoMessage ¶
func (*StmtComment) ProtoMessage()
func (*StmtComment) ProtoReflect ¶
func (x *StmtComment) ProtoReflect() protoreflect.Message
func (*StmtComment) Reset ¶
func (x *StmtComment) Reset()
func (*StmtComment) String ¶
func (x *StmtComment) String() string
type StmtDecisionCase ¶
type StmtDecisionCase struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a decision (CASE)
func (*StmtDecisionCase) Descriptor
deprecated
func (*StmtDecisionCase) Descriptor() ([]byte, []int)
Deprecated: Use StmtDecisionCase.ProtoReflect.Descriptor instead.
func (*StmtDecisionCase) GetLocation ¶
func (x *StmtDecisionCase) GetLocation() *StmtLocationInFile
func (*StmtDecisionCase) GetStmts ¶
func (x *StmtDecisionCase) GetStmts() *Stmts
func (*StmtDecisionCase) ProtoMessage ¶
func (*StmtDecisionCase) ProtoMessage()
func (*StmtDecisionCase) ProtoReflect ¶
func (x *StmtDecisionCase) ProtoReflect() protoreflect.Message
func (*StmtDecisionCase) Reset ¶
func (x *StmtDecisionCase) Reset()
func (*StmtDecisionCase) String ¶
func (x *StmtDecisionCase) String() string
type StmtDecisionElse ¶
type StmtDecisionElse struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a decision (ELSE)
func (*StmtDecisionElse) Descriptor
deprecated
func (*StmtDecisionElse) Descriptor() ([]byte, []int)
Deprecated: Use StmtDecisionElse.ProtoReflect.Descriptor instead.
func (*StmtDecisionElse) GetLocation ¶
func (x *StmtDecisionElse) GetLocation() *StmtLocationInFile
func (*StmtDecisionElse) GetStmts ¶
func (x *StmtDecisionElse) GetStmts() *Stmts
func (*StmtDecisionElse) ProtoMessage ¶
func (*StmtDecisionElse) ProtoMessage()
func (*StmtDecisionElse) ProtoReflect ¶
func (x *StmtDecisionElse) ProtoReflect() protoreflect.Message
func (*StmtDecisionElse) Reset ¶
func (x *StmtDecisionElse) Reset()
func (*StmtDecisionElse) String ¶
func (x *StmtDecisionElse) String() string
type StmtDecisionElseIf ¶
type StmtDecisionElseIf struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a decision (ELSEIF)
func (*StmtDecisionElseIf) Descriptor
deprecated
func (*StmtDecisionElseIf) Descriptor() ([]byte, []int)
Deprecated: Use StmtDecisionElseIf.ProtoReflect.Descriptor instead.
func (*StmtDecisionElseIf) GetLocation ¶
func (x *StmtDecisionElseIf) GetLocation() *StmtLocationInFile
func (*StmtDecisionElseIf) GetStmts ¶
func (x *StmtDecisionElseIf) GetStmts() *Stmts
func (*StmtDecisionElseIf) ProtoMessage ¶
func (*StmtDecisionElseIf) ProtoMessage()
func (*StmtDecisionElseIf) ProtoReflect ¶
func (x *StmtDecisionElseIf) ProtoReflect() protoreflect.Message
func (*StmtDecisionElseIf) Reset ¶
func (x *StmtDecisionElseIf) Reset()
func (*StmtDecisionElseIf) String ¶
func (x *StmtDecisionElseIf) String() string
type StmtDecisionIf ¶
type StmtDecisionIf struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a decision (IF)
func (*StmtDecisionIf) Descriptor
deprecated
func (*StmtDecisionIf) Descriptor() ([]byte, []int)
Deprecated: Use StmtDecisionIf.ProtoReflect.Descriptor instead.
func (*StmtDecisionIf) GetLocation ¶
func (x *StmtDecisionIf) GetLocation() *StmtLocationInFile
func (*StmtDecisionIf) GetStmts ¶
func (x *StmtDecisionIf) GetStmts() *Stmts
func (*StmtDecisionIf) ProtoMessage ¶
func (*StmtDecisionIf) ProtoMessage()
func (*StmtDecisionIf) ProtoReflect ¶
func (x *StmtDecisionIf) ProtoReflect() protoreflect.Message
func (*StmtDecisionIf) Reset ¶
func (x *StmtDecisionIf) Reset()
func (*StmtDecisionIf) String ¶
func (x *StmtDecisionIf) String() string
type StmtDecisionSwitch ¶
type StmtDecisionSwitch struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a group of decisions (SWITCH)
func (*StmtDecisionSwitch) Descriptor
deprecated
func (*StmtDecisionSwitch) Descriptor() ([]byte, []int)
Deprecated: Use StmtDecisionSwitch.ProtoReflect.Descriptor instead.
func (*StmtDecisionSwitch) GetLocation ¶
func (x *StmtDecisionSwitch) GetLocation() *StmtLocationInFile
func (*StmtDecisionSwitch) GetStmts ¶
func (x *StmtDecisionSwitch) GetStmts() *Stmts
func (*StmtDecisionSwitch) ProtoMessage ¶
func (*StmtDecisionSwitch) ProtoMessage()
func (*StmtDecisionSwitch) ProtoReflect ¶
func (x *StmtDecisionSwitch) ProtoReflect() protoreflect.Message
func (*StmtDecisionSwitch) Reset ¶
func (x *StmtDecisionSwitch) Reset()
func (*StmtDecisionSwitch) String ¶
func (x *StmtDecisionSwitch) String() string
type StmtExternalDependency ¶
type StmtExternalDependency struct { ClassName string `protobuf:"bytes,1,opt,name=className,proto3" json:"className,omitempty"` FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
Represents a external dependency node. Used when code call new X() or X::method() for example
func (*StmtExternalDependency) Descriptor
deprecated
func (*StmtExternalDependency) Descriptor() ([]byte, []int)
Deprecated: Use StmtExternalDependency.ProtoReflect.Descriptor instead.
func (*StmtExternalDependency) GetClassName ¶
func (x *StmtExternalDependency) GetClassName() string
func (*StmtExternalDependency) GetFrom ¶ added in v0.15.0
func (x *StmtExternalDependency) GetFrom() string
func (*StmtExternalDependency) GetFunctionName ¶
func (x *StmtExternalDependency) GetFunctionName() string
func (*StmtExternalDependency) GetNamespace ¶ added in v0.15.0
func (x *StmtExternalDependency) GetNamespace() string
func (*StmtExternalDependency) ProtoMessage ¶
func (*StmtExternalDependency) ProtoMessage()
func (*StmtExternalDependency) ProtoReflect ¶
func (x *StmtExternalDependency) ProtoReflect() protoreflect.Message
func (*StmtExternalDependency) Reset ¶
func (x *StmtExternalDependency) Reset()
func (*StmtExternalDependency) String ¶
func (x *StmtExternalDependency) String() string
type StmtFunction ¶
type StmtFunction struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Comments []*StmtComment `protobuf:"bytes,4,rep,name=comments,proto3" json:"comments,omitempty"` Operators []*StmtOperator `protobuf:"bytes,5,rep,name=operators,proto3" json:"operators,omitempty"` Operands []*StmtOperand `protobuf:"bytes,6,rep,name=operands,proto3" json:"operands,omitempty"` Parameters []*StmtParameter `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"` Externals []*Name `protobuf:"bytes,8,rep,name=externals,proto3" json:"externals,omitempty"` // dependencies LinesOfCode *LinesOfCode `protobuf:"bytes,9,opt,name=linesOfCode,proto3" json:"linesOfCode,omitempty"` // contains filtered or unexported fields }
Represents a Function node.
func (*StmtFunction) Descriptor
deprecated
func (*StmtFunction) Descriptor() ([]byte, []int)
Deprecated: Use StmtFunction.ProtoReflect.Descriptor instead.
func (*StmtFunction) GetComments ¶
func (x *StmtFunction) GetComments() []*StmtComment
func (*StmtFunction) GetExternals ¶
func (x *StmtFunction) GetExternals() []*Name
func (*StmtFunction) GetLinesOfCode ¶
func (x *StmtFunction) GetLinesOfCode() *LinesOfCode
func (*StmtFunction) GetLocation ¶
func (x *StmtFunction) GetLocation() *StmtLocationInFile
func (*StmtFunction) GetName ¶
func (x *StmtFunction) GetName() *Name
func (*StmtFunction) GetOperands ¶
func (x *StmtFunction) GetOperands() []*StmtOperand
func (*StmtFunction) GetOperators ¶
func (x *StmtFunction) GetOperators() []*StmtOperator
func (*StmtFunction) GetParameters ¶
func (x *StmtFunction) GetParameters() []*StmtParameter
func (*StmtFunction) GetStmts ¶
func (x *StmtFunction) GetStmts() *Stmts
func (*StmtFunction) ProtoMessage ¶
func (*StmtFunction) ProtoMessage()
func (*StmtFunction) ProtoReflect ¶
func (x *StmtFunction) ProtoReflect() protoreflect.Message
func (*StmtFunction) Reset ¶
func (x *StmtFunction) Reset()
func (*StmtFunction) String ¶
func (x *StmtFunction) String() string
type StmtInterface ¶
type StmtInterface struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Extends []*Name `protobuf:"bytes,4,rep,name=extends,proto3" json:"extends,omitempty"` // contains filtered or unexported fields }
Represents a Interface node.
func (*StmtInterface) Descriptor
deprecated
func (*StmtInterface) Descriptor() ([]byte, []int)
Deprecated: Use StmtInterface.ProtoReflect.Descriptor instead.
func (*StmtInterface) GetExtends ¶
func (x *StmtInterface) GetExtends() []*Name
func (*StmtInterface) GetLocation ¶
func (x *StmtInterface) GetLocation() *StmtLocationInFile
func (*StmtInterface) GetName ¶
func (x *StmtInterface) GetName() *Name
func (*StmtInterface) GetStmts ¶
func (x *StmtInterface) GetStmts() *Stmts
func (*StmtInterface) ProtoMessage ¶
func (*StmtInterface) ProtoMessage()
func (*StmtInterface) ProtoReflect ¶
func (x *StmtInterface) ProtoReflect() protoreflect.Message
func (*StmtInterface) Reset ¶
func (x *StmtInterface) Reset()
func (*StmtInterface) String ¶
func (x *StmtInterface) String() string
type StmtLocationInFile ¶
type StmtLocationInFile struct { StartLine int32 `protobuf:"varint,1,opt,name=startLine,proto3" json:"startLine,omitempty"` StartFilePos int32 `protobuf:"varint,2,opt,name=startFilePos,proto3" json:"startFilePos,omitempty"` EndLine int32 `protobuf:"varint,3,opt,name=endLine,proto3" json:"endLine,omitempty"` EndFilePos int32 `protobuf:"varint,4,opt,name=endFilePos,proto3" json:"endFilePos,omitempty"` BlankLines int32 `protobuf:"varint,5,opt,name=blankLines,proto3" json:"blankLines,omitempty"` // contains filtered or unexported fields }
Describe the location of statement in file.
func (*StmtLocationInFile) Descriptor
deprecated
func (*StmtLocationInFile) Descriptor() ([]byte, []int)
Deprecated: Use StmtLocationInFile.ProtoReflect.Descriptor instead.
func (*StmtLocationInFile) GetBlankLines ¶
func (x *StmtLocationInFile) GetBlankLines() int32
func (*StmtLocationInFile) GetEndFilePos ¶
func (x *StmtLocationInFile) GetEndFilePos() int32
func (*StmtLocationInFile) GetEndLine ¶
func (x *StmtLocationInFile) GetEndLine() int32
func (*StmtLocationInFile) GetStartFilePos ¶
func (x *StmtLocationInFile) GetStartFilePos() int32
func (*StmtLocationInFile) GetStartLine ¶
func (x *StmtLocationInFile) GetStartLine() int32
func (*StmtLocationInFile) ProtoMessage ¶
func (*StmtLocationInFile) ProtoMessage()
func (*StmtLocationInFile) ProtoReflect ¶
func (x *StmtLocationInFile) ProtoReflect() protoreflect.Message
func (*StmtLocationInFile) Reset ¶
func (x *StmtLocationInFile) Reset()
func (*StmtLocationInFile) String ¶
func (x *StmtLocationInFile) String() string
type StmtLoop ¶
type StmtLoop struct { Stmts *Stmts `protobuf:"bytes,1,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a loop (FOR, FOREACH, WHILE)
func (*StmtLoop) Descriptor
deprecated
func (*StmtLoop) GetLocation ¶
func (x *StmtLoop) GetLocation() *StmtLocationInFile
func (*StmtLoop) ProtoMessage ¶
func (*StmtLoop) ProtoMessage()
func (*StmtLoop) ProtoReflect ¶
func (x *StmtLoop) ProtoReflect() protoreflect.Message
type StmtNamespace ¶
type StmtNamespace struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` LinesOfCode *LinesOfCode `protobuf:"bytes,4,opt,name=linesOfCode,proto3" json:"linesOfCode,omitempty"` // contains filtered or unexported fields }
Represents a namespace node.
func (*StmtNamespace) Descriptor
deprecated
func (*StmtNamespace) Descriptor() ([]byte, []int)
Deprecated: Use StmtNamespace.ProtoReflect.Descriptor instead.
func (*StmtNamespace) GetLinesOfCode ¶
func (x *StmtNamespace) GetLinesOfCode() *LinesOfCode
func (*StmtNamespace) GetLocation ¶
func (x *StmtNamespace) GetLocation() *StmtLocationInFile
func (*StmtNamespace) GetName ¶
func (x *StmtNamespace) GetName() *Name
func (*StmtNamespace) GetStmts ¶
func (x *StmtNamespace) GetStmts() *Stmts
func (*StmtNamespace) ProtoMessage ¶
func (*StmtNamespace) ProtoMessage()
func (*StmtNamespace) ProtoReflect ¶
func (x *StmtNamespace) ProtoReflect() protoreflect.Message
func (*StmtNamespace) Reset ¶
func (x *StmtNamespace) Reset()
func (*StmtNamespace) String ¶
func (x *StmtNamespace) String() string
type StmtOperand ¶
type StmtOperand struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StmtOperand) Descriptor
deprecated
func (*StmtOperand) Descriptor() ([]byte, []int)
Deprecated: Use StmtOperand.ProtoReflect.Descriptor instead.
func (*StmtOperand) GetName ¶
func (x *StmtOperand) GetName() string
func (*StmtOperand) ProtoMessage ¶
func (*StmtOperand) ProtoMessage()
func (*StmtOperand) ProtoReflect ¶
func (x *StmtOperand) ProtoReflect() protoreflect.Message
func (*StmtOperand) Reset ¶
func (x *StmtOperand) Reset()
func (*StmtOperand) String ¶
func (x *StmtOperand) String() string
type StmtOperator ¶
type StmtOperator struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
------------------------------------ -- Volume: Operators and Operands ------------------------------------
func (*StmtOperator) Descriptor
deprecated
func (*StmtOperator) Descriptor() ([]byte, []int)
Deprecated: Use StmtOperator.ProtoReflect.Descriptor instead.
func (*StmtOperator) GetName ¶
func (x *StmtOperator) GetName() string
func (*StmtOperator) ProtoMessage ¶
func (*StmtOperator) ProtoMessage()
func (*StmtOperator) ProtoReflect ¶
func (x *StmtOperator) ProtoReflect() protoreflect.Message
func (*StmtOperator) Reset ¶
func (x *StmtOperator) Reset()
func (*StmtOperator) String ¶
func (x *StmtOperator) String() string
type StmtParameter ¶
type StmtParameter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Represents a Parameter node (for function)
func (*StmtParameter) Descriptor
deprecated
func (*StmtParameter) Descriptor() ([]byte, []int)
Deprecated: Use StmtParameter.ProtoReflect.Descriptor instead.
func (*StmtParameter) GetName ¶
func (x *StmtParameter) GetName() string
func (*StmtParameter) GetType ¶
func (x *StmtParameter) GetType() string
func (*StmtParameter) ProtoMessage ¶
func (*StmtParameter) ProtoMessage()
func (*StmtParameter) ProtoReflect ¶
func (x *StmtParameter) ProtoReflect() protoreflect.Message
func (*StmtParameter) Reset ¶
func (x *StmtParameter) Reset()
func (*StmtParameter) String ¶
func (x *StmtParameter) String() string
type StmtTrait ¶
type StmtTrait struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a Trait node.
func (*StmtTrait) Descriptor
deprecated
func (*StmtTrait) GetLocation ¶
func (x *StmtTrait) GetLocation() *StmtLocationInFile
func (*StmtTrait) ProtoMessage ¶
func (*StmtTrait) ProtoMessage()
func (*StmtTrait) ProtoReflect ¶
func (x *StmtTrait) ProtoReflect() protoreflect.Message
type StmtUse ¶
type StmtUse struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stmts *Stmts `protobuf:"bytes,2,opt,name=stmts,proto3" json:"stmts,omitempty"` Location *StmtLocationInFile `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Represents a Use (or Import) node.
func (*StmtUse) Descriptor
deprecated
func (*StmtUse) GetLocation ¶
func (x *StmtUse) GetLocation() *StmtLocationInFile
func (*StmtUse) ProtoMessage ¶
func (*StmtUse) ProtoMessage()
func (*StmtUse) ProtoReflect ¶
func (x *StmtUse) ProtoReflect() protoreflect.Message
type Stmts ¶
type Stmts struct { Analyze *Analyze `protobuf:"bytes,1,opt,name=analyze,proto3" json:"analyze,omitempty"` // Append here all the possible statements StmtClass []*StmtClass `protobuf:"bytes,2,rep,name=stmtClass,proto3" json:"stmtClass,omitempty"` StmtFunction []*StmtFunction `protobuf:"bytes,3,rep,name=stmtFunction,proto3" json:"stmtFunction,omitempty"` StmtInterface []*StmtInterface `protobuf:"bytes,4,rep,name=stmtInterface,proto3" json:"stmtInterface,omitempty"` StmtTrait []*StmtTrait `protobuf:"bytes,5,rep,name=stmtTrait,proto3" json:"stmtTrait,omitempty"` StmtUse []*StmtUse `protobuf:"bytes,6,rep,name=stmtUse,proto3" json:"stmtUse,omitempty"` StmtNamespace []*StmtNamespace `protobuf:"bytes,7,rep,name=stmtNamespace,proto3" json:"stmtNamespace,omitempty"` StmtDecisionIf []*StmtDecisionIf `protobuf:"bytes,8,rep,name=stmtDecisionIf,proto3" json:"stmtDecisionIf,omitempty"` StmtDecisionElseIf []*StmtDecisionElseIf `protobuf:"bytes,9,rep,name=stmtDecisionElseIf,proto3" json:"stmtDecisionElseIf,omitempty"` StmtDecisionElse []*StmtDecisionElse `protobuf:"bytes,10,rep,name=stmtDecisionElse,proto3" json:"stmtDecisionElse,omitempty"` StmtDecisionCase []*StmtDecisionCase `protobuf:"bytes,11,rep,name=stmtDecisionCase,proto3" json:"stmtDecisionCase,omitempty"` StmtLoop []*StmtLoop `protobuf:"bytes,12,rep,name=stmtLoop,proto3" json:"stmtLoop,omitempty"` StmtDecisionSwitch []*StmtDecisionSwitch `protobuf:"bytes,13,rep,name=stmtDecisionSwitch,proto3" json:"stmtDecisionSwitch,omitempty"` StmtExternalDependencies []*StmtExternalDependency `protobuf:"bytes,14,rep,name=stmtExternalDependencies,proto3" json:"stmtExternalDependencies,omitempty"` // contains filtered or unexported fields }
Represents a list of statements.
func (*Stmts) Descriptor
deprecated
func (*Stmts) GetAnalyze ¶
func (*Stmts) GetStmtClass ¶
func (*Stmts) GetStmtDecisionCase ¶
func (x *Stmts) GetStmtDecisionCase() []*StmtDecisionCase
func (*Stmts) GetStmtDecisionElse ¶
func (x *Stmts) GetStmtDecisionElse() []*StmtDecisionElse
func (*Stmts) GetStmtDecisionElseIf ¶
func (x *Stmts) GetStmtDecisionElseIf() []*StmtDecisionElseIf
func (*Stmts) GetStmtDecisionIf ¶
func (x *Stmts) GetStmtDecisionIf() []*StmtDecisionIf
func (*Stmts) GetStmtDecisionSwitch ¶
func (x *Stmts) GetStmtDecisionSwitch() []*StmtDecisionSwitch
func (*Stmts) GetStmtExternalDependencies ¶
func (x *Stmts) GetStmtExternalDependencies() []*StmtExternalDependency
func (*Stmts) GetStmtFunction ¶
func (x *Stmts) GetStmtFunction() []*StmtFunction
func (*Stmts) GetStmtInterface ¶
func (x *Stmts) GetStmtInterface() []*StmtInterface
func (*Stmts) GetStmtLoop ¶
func (*Stmts) GetStmtNamespace ¶
func (x *Stmts) GetStmtNamespace() []*StmtNamespace
func (*Stmts) GetStmtTrait ¶
func (*Stmts) GetStmtUse ¶
func (*Stmts) ProtoMessage ¶
func (*Stmts) ProtoMessage()
func (*Stmts) ProtoReflect ¶
func (x *Stmts) ProtoReflect() protoreflect.Message
type Volume ¶
type Volume struct { Loc *int32 `protobuf:"varint,1,opt,name=loc,proto3,oneof" json:"loc,omitempty"` Lloc *int32 `protobuf:"varint,2,opt,name=lloc,proto3,oneof" json:"lloc,omitempty"` Cloc *int32 `protobuf:"varint,3,opt,name=cloc,proto3,oneof" json:"cloc,omitempty"` HalsteadVocabulary *int32 `protobuf:"varint,4,opt,name=halsteadVocabulary,proto3,oneof" json:"halsteadVocabulary,omitempty"` HalsteadLength *int32 `protobuf:"varint,5,opt,name=halsteadLength,proto3,oneof" json:"halsteadLength,omitempty"` HalsteadVolume *float32 `protobuf:"fixed32,6,opt,name=halsteadVolume,proto3,oneof" json:"halsteadVolume,omitempty"` HalsteadDifficulty *float32 `protobuf:"fixed32,7,opt,name=halsteadDifficulty,proto3,oneof" json:"halsteadDifficulty,omitempty"` HalsteadEffort *float32 `protobuf:"fixed32,8,opt,name=halsteadEffort,proto3,oneof" json:"halsteadEffort,omitempty"` HalsteadTime *float32 `protobuf:"fixed32,9,opt,name=halsteadTime,proto3,oneof" json:"halsteadTime,omitempty"` HalsteadEstimatedLength *float32 `protobuf:"fixed32,10,opt,name=halsteadEstimatedLength,proto3,oneof" json:"halsteadEstimatedLength,omitempty"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) GetHalsteadDifficulty ¶
func (*Volume) GetHalsteadEffort ¶
func (*Volume) GetHalsteadEstimatedLength ¶
func (*Volume) GetHalsteadLength ¶
func (*Volume) GetHalsteadTime ¶
func (*Volume) GetHalsteadVocabulary ¶
func (*Volume) GetHalsteadVolume ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message