Versions in this module Expand all Collapse all v0 v0.0.2 Aug 7, 2022 Changes in this version + var IgnoreTokenSet mapset.Set[lexer.TokenType] v0.0.1 Apr 18, 2022 Changes in this version + const Abstract + const Final + const KeySep + const NoClassModifier + const Private + const Protected + const Public + const UseClass + const UseConst + const UseFunction + var Aliases = map[string]string + var Natives = map[string]bool + func DeprecatedDiagnostics(ctx ResolveContext) []protocol.Diagnostic + func GetClassFQNLowerCase(fqn string) string + func GetParserDiagnostics(document *Document) []protocol.Diagnostic + func GetScopeAndNameFromString(name string) (string, string) + func IsFQN(name string) bool + func IsInherited(currentClass string, access MemberAccess, relationMap RelationMap, ...) bool + func IsInheritedStatic(currentClass string, access MemberAccess, relationMap RelationMap, ...) bool + func IsNameParent(name string) bool + func IsNameRelative(name string) bool + func SymToRefs(document *Document, sym HasTypes) []string + func TraverseDocument(document *Document, preorder func(Symbol), postorder func(Symbol)) + func TraverseSymbol(s Symbol, preorder func(Symbol), postorder func(Symbol)) + func UnusedDiagnostics(document *Document) []protocol.Diagnostic + type AnonymousFunction struct + Params []*Parameter + func (s *AnonymousFunction) GetChildren() []Symbol + func (s *AnonymousFunction) GetLocation() protocol.Location + type ArgumentList struct + func (s *ArgumentList) GetArgumentRanges() []protocol.Range + func (s *ArgumentList) GetArguments() []phrase.AstNode + func (s *ArgumentList) GetChildren() []Symbol + func (s *ArgumentList) GetLocation() protocol.Location + func (s *ArgumentList) GetRanges() []protocol.Range + type BlockSymbol interface + GetChildren func() []Symbol + type Class struct + Extends TypeString + Interfaces []TypeString + Location protocol.Location + Modifier ClassModifierValue + Name TypeString + Use []TypeString + func ReadClass(d *storage.Decoder) *Class + func (s *Class) AddUse(name TypeString) + func (s *Class) GetChildren() []Symbol + func (s *Class) GetCollection() string + func (s *Class) GetDescription() string + func (s *Class) GetIndexCollection() string + func (s *Class) GetIndexableName() string + func (s *Class) GetKey() string + func (s *Class) GetLocation() protocol.Location + func (s *Class) GetName() string + func (s *Class) GetScope() string + func (s *Class) IsScopeSymbol() bool + func (s *Class) ReferenceFQN() string + func (s *Class) ReferenceLocation() protocol.Location + func (s *Class) Serialise(e *storage.Encoder) + type ClassAccess struct + func (s *ClassAccess) GetLocation() protocol.Location + func (s *ClassAccess) GetName() string + func (s *ClassAccess) GetTypes() TypeComposite + func (s *ClassAccess) Resolve(ctx ResolveContext) + type ClassConst struct + Name string + Scope TypeString + Value string + VisibilityModifier VisibilityModifierValue + func ReadClassConst(d *storage.Decoder) *ClassConst + func (s *ClassConst) GetCollection() string + func (s *ClassConst) GetDescription() string + func (s *ClassConst) GetIndexCollection() string + func (s *ClassConst) GetIndexableName() string + func (s *ClassConst) GetKey() string + func (s *ClassConst) GetLocation() protocol.Location + func (s *ClassConst) GetName() string + func (s *ClassConst) GetScope() string + func (s *ClassConst) IsScopeSymbol() bool + func (s *ClassConst) IsStatic() bool + func (s *ClassConst) ReferenceFQN() string + func (s *ClassConst) ReferenceLocation() protocol.Location + func (s *ClassConst) ScopeTypeString() TypeString + func (s *ClassConst) Serialise(e *storage.Encoder) + func (s *ClassConst) Visibility() VisibilityModifierValue + type ClassConstWithScope struct + Const *ClassConst + Scope Symbol + Score int + func MergeClassConstWithScope(items ...[]ClassConstWithScope) []ClassConstWithScope + type ClassModifierValue int + type ClassTypeDesignator struct + func (s *ClassTypeDesignator) GetChildren() []Symbol + func (s *ClassTypeDesignator) GetLocation() protocol.Location + func (s *ClassTypeDesignator) GetTypes() TypeComposite + func (s *ClassTypeDesignator) ResolveToHasParams(ctx ResolveContext) []HasParams + type CompletionValue string + func (cv CompletionValue) Serialise(e *storage.Encoder) + type Const struct + Name TypeString + Value string + func ReadConst(d *storage.Decoder) *Const + func (s *Const) GetCollection() string + func (s *Const) GetDescription() string + func (s *Const) GetIndexCollection() string + func (s *Const) GetIndexableName() string + func (s *Const) GetKey() string + func (s *Const) GetLocation() protocol.Location + func (s *Const) GetName() string + func (s *Const) Serialise(e *storage.Encoder) + type ConstantAccess struct + func (s *ConstantAccess) GetLocation() protocol.Location + func (s *ConstantAccess) GetTypes() TypeComposite + type Define struct + Name TypeString + Value string + func ReadDefine(d *storage.Decoder) *Define + func (s *Define) GetChildren() []Symbol + func (s *Define) GetCollection() string + func (s *Define) GetDescription() string + func (s *Define) GetIndexCollection() string + func (s *Define) GetIndexableName() string + func (s *Define) GetKey() string + func (s *Define) GetLocation() protocol.Location + func (s *Define) GetName() string + func (s *Define) GetTypes() TypeComposite + func (s *Define) Resolve(ctx ResolveContext) + func (s *Define) ResolveToHasParams(ctx ResolveContext) []HasParams + func (s *Define) Serialise(e *storage.Encoder) + type Document struct + Children []Symbol + func NewDocument(uri string, text []byte) *Document + func (s *Document) ApplyChanges(changes []protocol.TextDocumentContentChangeEvent) + func (s *Document) ArgumentListAndFunctionCallAt(pos protocol.Position) (*ArgumentList, HasParamsResolvable) + func (s *Document) ClassAt(pos protocol.Position) Symbol + func (s *Document) CloneForMutate() *Document + func (s *Document) Close() + func (s *Document) GetClassScopeAtSymbol(symbol Symbol) string + func (s *Document) GetHash() []byte + func (s *Document) GetNodeLocation(node phrase.AstNode) protocol.Location + func (s *Document) GetNodeText(node phrase.AstNode) string + func (s *Document) GetRootNode() *phrase.Phrase + func (s *Document) GetText() []byte + func (s *Document) GetURI() string + func (s *Document) GetVariableTableAt(pos protocol.Position) *VariableTable + func (s *Document) HasTypesAt(offset int) HasTypes + func (s *Document) HasTypesAtPos(pos protocol.Position) HasTypes + func (s *Document) HasTypesBeforePos(pos protocol.Position) HasTypes + func (s *Document) ImportTableAtPos(pos protocol.Position) *ImportTable + func (s *Document) IsOpen() bool + func (s *Document) Load() + func (s *Document) Lock() + func (s *Document) MarshalJSON() ([]byte, error) + func (s *Document) NodeRange(node phrase.AstNode) protocol.Range + func (s *Document) NodeSpineAt(offset int) util.NodeStack + func (s *Document) OffsetAtPosition(pos protocol.Position) int + func (s *Document) Open() + func (s *Document) SetText(text []byte) + func (s *Document) Unlock() + func (s *Document) UnusedVariables() []*Variable + func (s *Document) WordAtPos(pos protocol.Position) string + type Expression struct + Location protocol.Location + Name string + Scope HasTypes + Type TypeComposite + func (e *Expression) Resolve(ctx ResolveContext) + func (e *Expression) ResolveAndGetScope(ctx ResolveContext) TypeComposite + type ForeachCollection struct + func (s ForeachCollection) GetLocation() protocol.Location + func (s ForeachCollection) GetTypes() TypeComposite + func (s ForeachCollection) Resolve(ctx ResolveContext) + type Function struct + Name TypeString + Params []*Parameter + func ReadFunction(d *storage.Decoder) *Function + func (s *Function) GetChildren() []Symbol + func (s *Function) GetCollection() string + func (s *Function) GetDescription() string + func (s *Function) GetDetail() string + func (s *Function) GetIndexCollection() string + func (s *Function) GetIndexableName() string + func (s *Function) GetKey() string + func (s *Function) GetLocation() protocol.Location + func (s *Function) GetName() TypeString + func (s *Function) GetNameLabel() string + func (s *Function) GetParams() []*Parameter + func (s *Function) GetReturnTypes() TypeComposite + func (s *Function) GetScope() string + func (s *Function) IsScopeSymbol() bool + func (s *Function) ReferenceFQN() string + func (s *Function) ReferenceLocation() protocol.Location + func (s *Function) Serialise(e *storage.Encoder) + type FunctionCall struct + func (s *FunctionCall) GetLocation() protocol.Location + func (s *FunctionCall) GetTypes() TypeComposite + func (s *FunctionCall) Resolve(ctx ResolveContext) + func (s *FunctionCall) ResolveToHasParams(ctx ResolveContext) []HasParams + type GlobalVariable struct + Name string + func ReadGlobalVariable(d *storage.Decoder) *GlobalVariable + func (s *GlobalVariable) GetCollection() string + func (s *GlobalVariable) GetDescription() string + func (s *GlobalVariable) GetDetail() string + func (s *GlobalVariable) GetKey() string + func (s *GlobalVariable) GetLocation() protocol.Location + func (s *GlobalVariable) GetName() string + func (s *GlobalVariable) Serialise(e *storage.Encoder) + type HasName interface + GetName func() string + type HasParams interface + GetDescription func() string + GetNameLabel func() string + GetParams func() []*Parameter + type HasParamsResolvable interface + ResolveToHasParams func(ctx ResolveContext) []HasParams + type HasScope interface + GetScope func() string + IsScopeSymbol func() bool + type HasTypes interface + GetTypes func() TypeComposite + Resolve func(ctx ResolveContext) + type HasTypesHasScope interface + GetScopeTypes func() TypeComposite + MemberName func() string + type ImportTable struct + func (i ImportTable) FunctionPossibleFQNs(name TypeString) []string + func (i ImportTable) GetClassReferenceFQN(name TypeString) string + func (i ImportTable) GetConstReferenceFQN(q *Query, name TypeString) string + func (i ImportTable) GetFunctionReferenceFQN(q *Query, name TypeString) string + func (i ImportTable) GetNamespace() string + func (i ImportTable) ResolveScopeNamespace(word string) string + func (i ImportTable) ResolveToQualified(document *Document, symbol Symbol, name TypeString, word string) (string, *protocol.TextEdit) + type InheritedClassConst struct + Consts []ClassConstWithScope + RelationMap RelationMap + SearchedFQNs map[string]struct{} + func EmptyInheritedClassConst() InheritedClassConst + func NewInheritedClassConst(consts []ClassConstWithScope, searchedFQNs map[string]struct{}) InheritedClassConst + func (c *InheritedClassConst) Merge(other InheritedClassConst) + func (c InheritedClassConst) ReduceStatic(currentClass string, access MemberAccess) []ClassConstWithScope + type InheritedMethods struct + Methods []MethodWithScope + RelationMap RelationMap + SearchedFQNs map[string]struct{} + func EmptyInheritedMethods() InheritedMethods + func NewInheritedMethods(methods []MethodWithScope, searchedFQNs map[string]struct{}) InheritedMethods + func (m *InheritedMethods) Merge(other InheritedMethods) + func (m InheritedMethods) Len() int + func (m InheritedMethods) ReduceAccess(currentClass string, access MemberAccess) []MethodWithScope + func (m InheritedMethods) ReduceFirst() MethodWithScope + func (m InheritedMethods) ReduceStatic(currentClass string, access MemberAccess) []MethodWithScope + type InheritedProps struct + Props []PropWithScope + RelationMap RelationMap + SearchedFQNs map[string]struct{} + func EmptyInheritedProps() InheritedProps + func NewInheritedProps(props []PropWithScope, searchedFQNs map[string]struct{}) InheritedProps + func (p *InheritedProps) Merge(other InheritedProps) + func (p InheritedProps) Len() int + func (p InheritedProps) ReduceAccess(currentClass string, access MemberAccess) []PropWithScope + func (p InheritedProps) ReduceStatic(currentClass string, access MemberAccess) []PropWithScope + type InsertUseContext struct + func GetInsertUseContext(document *Document) InsertUseContext + func (i InsertUseContext) GetInsertAfterNode() *phrase.Phrase + func (i InsertUseContext) GetInsertPosition() (protocol.Position, bool) + func (i InsertUseContext) GetUseEdit(typeString TypeString, symbol Symbol, alias string) *protocol.TextEdit + type Interface struct + Extends []TypeString + Name TypeString + func ReadInterface(d *storage.Decoder) *Interface + func (s *Interface) GetChildren() []Symbol + func (s *Interface) GetCollection() string + func (s *Interface) GetDescription() string + func (s *Interface) GetIndexCollection() string + func (s *Interface) GetIndexableName() string + func (s *Interface) GetKey() string + func (s *Interface) GetLocation() protocol.Location + func (s *Interface) GetScope() string + func (s *Interface) IsScopeSymbol() bool + func (s *Interface) ReferenceFQN() string + func (s *Interface) ReferenceLocation() protocol.Location + func (s *Interface) Serialise(e *storage.Encoder) + type InterfaceAccess struct + func (s *InterfaceAccess) GetLocation() protocol.Location + func (s *InterfaceAccess) GetTypes() TypeComposite + type MemberAccess interface + ScopeName func() string + ScopeTypes func() TypeComposite + type MemberAccessExpression struct + func (m *MemberAccessExpression) ScopeName() string + func (m *MemberAccessExpression) ScopeTypes() TypeComposite + type MemberSymbol interface + IsStatic func() bool + ScopeTypeString func() TypeString + Visibility func() VisibilityModifierValue + type Method struct + ClassModifier ClassModifierValue + Name string + Params []*Parameter + Scope TypeString + VisibilityModifier VisibilityModifierValue + func ReadMethod(d *storage.Decoder) *Method + func (s *Method) GetChildren() []Symbol + func (s *Method) GetCollection() string + func (s *Method) GetIndexCollection() string + func (s *Method) GetIndexableName() string + func (s *Method) GetKey() string + func (s *Method) GetNameLabel() string + func (s *Method) GetParams() []*Parameter + func (s *Method) GetScope() string + func (s *Method) IsScopeSymbol() bool + func (s *Method) IsStatic() bool + func (s *Method) ReferenceFQN() string + func (s *Method) ReferenceLocation() protocol.Location + func (s *Method) ScopeTypeString() TypeString + func (s *Method) Serialise(e *storage.Encoder) + func (s *Method) Visibility() VisibilityModifierValue + func (s Method) GetDescription() string + func (s Method) GetLocation() protocol.Location + func (s Method) GetName() string + func (s Method) GetReturnTypes() TypeComposite + type MethodAccess struct + func (s *MethodAccess) GetLocation() protocol.Location + func (s *MethodAccess) GetScopeTypes() TypeComposite + func (s *MethodAccess) GetTypes() TypeComposite + func (s *MethodAccess) MemberName() string + func (s *MethodAccess) Resolve(ctx ResolveContext) + func (s *MethodAccess) ResolveToHasParams(ctx ResolveContext) []HasParams + type MethodWithScope struct + Method *Method + Scope Symbol + Score int + func MergeMethodWithScope(items ...[]MethodWithScope) []MethodWithScope + type NameIndexable interface + GetIndexCollection func() string + GetIndexableName func() string + type Namespace struct + Name string + type Parameter struct + Name string + Type TypeComposite + Value string + func ReadParameter(d *storage.Decoder) *Parameter + func (s *Parameter) GetDescription() string + func (s *Parameter) GetLocation() protocol.Location + func (s *Parameter) Write(e *storage.Encoder) + func (s Parameter) HasValue() bool + func (s Parameter) ToVariable() *Variable + type PropWithScope struct + Prop *Property + Scope Symbol + Score int + func MergePropWithScope(items ...[]PropWithScope) []PropWithScope + type Property struct + Name string + Scope TypeString + Types TypeComposite + VisibilityModifier VisibilityModifierValue + func ReadProperty(d *storage.Decoder) *Property + func (s *Property) GetCollection() string + func (s *Property) GetDescription() string + func (s *Property) GetIndexCollection() string + func (s *Property) GetIndexableName() string + func (s *Property) GetKey() string + func (s *Property) GetLocation() protocol.Location + func (s *Property) GetName() string + func (s *Property) GetScope() string + func (s *Property) IsScopeSymbol() bool + func (s *Property) IsStatic() bool + func (s *Property) ReferenceFQN() string + func (s *Property) ReferenceLocation() protocol.Location + func (s *Property) ScopeTypeString() TypeString + func (s *Property) Serialise(e *storage.Encoder) + func (s *Property) Visibility() VisibilityModifierValue + type PropertyAccess struct + func (s *PropertyAccess) GetLocation() protocol.Location + func (s *PropertyAccess) GetScopeTypes() TypeComposite + func (s *PropertyAccess) GetTypes() TypeComposite + func (s *PropertyAccess) MemberName() string + func (s *PropertyAccess) Resolve(ctx ResolveContext) + type Query struct + func NewQuery(store *Store) *Query + func (q *Query) GetClassClassConsts(class *Class, name string, searchedFQNs map[string]struct{}) InheritedClassConst + func (q *Query) GetClassConstructor(class *Class) MethodWithScope + func (q *Query) GetClassConsts(scope string, name string) []*ClassConst + func (q *Query) GetClassMethods(class *Class, name string, searchedFQNs map[string]struct{}) InheritedMethods + func (q *Query) GetClassProps(class *Class, name string, searchedFQNs map[string]struct{}) InheritedProps + func (q *Query) GetClasses(name string) []*Class + func (q *Query) GetConsts(name string) []*Const + func (q *Query) GetDefines(name string) []*Define + func (q *Query) GetFunctions(name string) []*Function + func (q *Query) GetGlobalVariables(name string) []*GlobalVariable + func (q *Query) GetInterfaceClassConsts(intf *Interface, name string, searchedFQNs map[string]struct{}) InheritedClassConst + func (q *Query) GetInterfaceMethods(intf *Interface, name string, searchedFQNs map[string]struct{}) InheritedMethods + func (q *Query) GetInterfaceProps(intf *Interface, name string, searchedFQNs map[string]struct{}) InheritedProps + func (q *Query) GetInterfaces(name string) []*Interface + func (q *Query) GetMethods(scope string, name string) []*Method + func (q *Query) GetProps(scope, name string) []*Property + func (q *Query) GetTraitMethods(trait *Trait, name string) InheritedMethods + func (q *Query) GetTraits(name string) []*Trait + func (q *Query) SearchClassClassConsts(class *Class, keyword string, searchedFQNs map[string]struct{}) InheritedClassConst + func (q *Query) SearchClassMethods(class *Class, keyword string, searchedFQNs map[string]struct{}) InheritedMethods + func (q *Query) SearchClassProps(class *Class, keyword string, searchedFQNs map[string]struct{}) InheritedProps + func (q *Query) SearchInterfaceClassConsts(intf *Interface, keyword string, searchedFQNs map[string]struct{}) InheritedClassConst + func (q *Query) SearchInterfaceMethods(intf *Interface, keyword string, searchedFQNs map[string]struct{}) InheritedMethods + func (q *Query) SearchInterfaceProps(intf *Interface, keyword string, searchedFQNs map[string]struct{}) InheritedProps + func (q Query) Store() *Store + type RelationMap map[string]Relations + func (r RelationMap) IsRelated(thisFQN string, otherFQN string) bool + func (r RelationMap) Merge(other RelationMap) + func (r RelationMap) Relate(thisFQN string, otherFQN string) + type Relations map[string]struct + func (r Relations) IsRelated(otherFQN string) bool + func (r Relations) Relate(otherFQN string) + type RelativeScope struct + Types TypeComposite + func (s *RelativeScope) GetLocation() protocol.Location + func (s *RelativeScope) GetTypes() TypeComposite + func (s *RelativeScope) Resolve(ctx ResolveContext) + type ResolveContext struct + func NewResolveContext(query *Query, document *Document) ResolveContext + type ScopedConstantAccess struct + func (s *ScopedConstantAccess) GetLocation() protocol.Location + func (s *ScopedConstantAccess) GetScopeTypes() TypeComposite + func (s *ScopedConstantAccess) GetTypes() TypeComposite + func (s *ScopedConstantAccess) MemberName() string + type ScopedMethodAccess struct + func (s *ScopedMethodAccess) GetLocation() protocol.Location + func (s *ScopedMethodAccess) GetScopeTypes() TypeComposite + func (s *ScopedMethodAccess) GetTypes() TypeComposite + func (s *ScopedMethodAccess) MemberName() string + func (s *ScopedMethodAccess) Resolve(ctx ResolveContext) + func (s *ScopedMethodAccess) ResolveToHasParams(ctx ResolveContext) []HasParams + type ScopedPropertyAccess struct + func (s *ScopedPropertyAccess) GetLocation() protocol.Location + func (s *ScopedPropertyAccess) GetScopeTypes() TypeComposite + func (s *ScopedPropertyAccess) GetTypes() TypeComposite + func (s *ScopedPropertyAccess) MemberName() string + func (s *ScopedPropertyAccess) Resolve(ctx ResolveContext) + type SearchOptions struct + func NewSearchOptions() SearchOptions + func (s SearchOptions) IsLimitReached() bool + func (s SearchOptions) WithLimit(limit int) SearchOptions + func (s SearchOptions) WithPredicate(predicate func(s Symbol) bool) SearchOptions + type SearchResult struct + IsComplete bool + type Store struct + DebouncedDeprecation func(func()) + FS protocol.FS + func NewStore(fs protocol.FS, uri protocol.DocumentURI, storePath string) (*Store, error) + func (s *Store) Clear() + func (s *Store) Close() + func (s *Store) CloseDocument(ctx context.Context, uri protocol.DocumentURI) + func (s *Store) CompareAndIndexDocument(ctx context.Context, uri string) *Document + func (s *Store) DeleteDocument(uri protocol.DocumentURI) + func (s *Store) DeleteFolder(uri protocol.DocumentURI) + func (s *Store) FinishIndexing() + func (s *Store) GetAllClassConsts(scope string) []*ClassConst + func (s *Store) GetAllMethods(scope string) []*Method + func (s *Store) GetAllProperties(scope string) []*Property + func (s *Store) GetClassConsts(scope string, name string) []*ClassConst + func (s *Store) GetClasses(name string) []*Class + func (s *Store) GetConsts(name string) []*Const + func (s *Store) GetDefines(name string) []*Define + func (s *Store) GetFunctions(name string) []*Function + func (s *Store) GetGlobalVariables(name string) []*GlobalVariable + func (s *Store) GetInterfaces(name string) []*Interface + func (s *Store) GetMethods(scope string, name string) []*Method + func (s *Store) GetOrCreateDocument(ctx context.Context, uri protocol.DocumentURI) *Document + func (s *Store) GetProperties(scope string, name string) []*Property + func (s *Store) GetReferences(ref string) []protocol.Location + func (s *Store) GetStoreVersion() string + func (s *Store) GetTraits(name string) []*Trait + func (s *Store) GetURI() protocol.DocumentURI + func (s *Store) LoadStubs() + func (s *Store) Migrate(newVersion string) + func (s *Store) OpenDocument(ctx context.Context, uri protocol.DocumentURI) *Document + func (s *Store) PrepareForIndexing() + func (s *Store) PutVersion(version string) + func (s *Store) SaveDocOnStore(document *Document) + func (s *Store) SearchClassConsts(scope string, keyword string, options SearchOptions) ([]*ClassConst, SearchResult) + func (s *Store) SearchClasses(keyword string, options SearchOptions) ([]*Class, SearchResult) + func (s *Store) SearchConsts(keyword string, options SearchOptions) ([]*Const, SearchResult) + func (s *Store) SearchDefines(keyword string, options SearchOptions) ([]*Define, SearchResult) + func (s *Store) SearchFunctions(keyword string, options SearchOptions) ([]*Function, SearchResult) + func (s *Store) SearchInterfaces(keyword string, options SearchOptions) ([]*Interface, SearchResult) + func (s *Store) SearchMethods(scope string, keyword string, options SearchOptions) ([]*Method, SearchResult) + func (s *Store) SearchNamespaces(keyword string, options SearchOptions) ([]string, SearchResult) + func (s *Store) SearchProperties(scope string, keyword string, options SearchOptions) ([]*Property, SearchResult) + func (s *Store) SearchTraits(keyword string, options SearchOptions) ([]*Trait, SearchResult) + func (s *Store) SyncDocument(document *Document) + type Symbol interface + GetLocation func() protocol.Location + type SymbolReference interface + ReferenceFQN func() string + ReferenceLocation func() protocol.Location + type Trait struct + Name TypeString + func ReadTrait(d *storage.Decoder) *Trait + func (s *Trait) GetChildren() []Symbol + func (s *Trait) GetCollection() string + func (s *Trait) GetDescription() string + func (s *Trait) GetIndexCollection() string + func (s *Trait) GetIndexableName() string + func (s *Trait) GetKey() string + func (s *Trait) GetLocation() protocol.Location + func (s *Trait) GetName() string + func (s *Trait) Serialise(e *storage.Encoder) + type TraitAccess struct + func (s *TraitAccess) GetLocation() protocol.Location + func (s *TraitAccess) GetTypes() TypeComposite + type TypeComposite struct + func ReadTypeComposite(d *storage.Decoder) TypeComposite + func (t *TypeComposite) Write(e *storage.Encoder) + func (t TypeComposite) IsEmpty() bool + func (t TypeComposite) MarshalJSON() ([]byte, error) + func (t TypeComposite) Resolve() []TypeString + func (t TypeComposite) ToString() string + type TypeDeclaration struct + func (s *TypeDeclaration) GetLocation() protocol.Location + func (s *TypeDeclaration) GetTypes() TypeComposite + type TypeString struct + func NewTypeString(typeString string) TypeString + func ReadTypeString(d *storage.Decoder) TypeString + func (t *TypeString) MarshalJSON() ([]byte, error) + func (t *TypeString) SetFQN(fqn string) + func (t *TypeString) SetNamespace(namespace string) + func (t TypeString) Dearray() (TypeString, bool) + func (t TypeString) FirstPart() string + func (t TypeString) GetFQN() string + func (t TypeString) GetFirstAndRestParts() (string, []string) + func (t TypeString) GetNamespace() string + func (t TypeString) GetOriginal() string + func (t TypeString) GetParts() []string + func (t TypeString) IsEmpty() bool + func (t TypeString) ToString() string + func (t TypeString) Write(e *storage.Encoder) + type UseType int + type Variable struct + func (s *Variable) GetDescription() string + func (s *Variable) GetDetail() string + func (s *Variable) GetLocation() protocol.Location + func (s *Variable) GetName() string + func (s *Variable) GetTypes() TypeComposite + func (s *Variable) Resolve(ctx ResolveContext) + type VariableTable struct + func (vt *VariableTable) GetContextualVariables(name string) []contextualVariable + func (vt *VariableTable) GetVariables(pos protocol.Position) []*Variable + type VisibilityModifierValue int + func (v VisibilityModifierValue) ToString() string