Table of Contents

Class JavaScriptRepository

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

Represents properties and methods to perform code completion functionality for Java Script language.

public class JavaScriptRepository : ReflectionRepository, INETRepository, IReflectionRepository, ICodeCompletionRepository, IDisposable
Inheritance
JavaScriptRepository
Implements

Constructors

JavaScriptRepository(bool, ISyntaxTree)

Initializes a new instance of the JavaScriptRepository class with specified settings.

Methods

AddUnitMember(IListMembers, ISyntaxNode, string, CodeCompletionScope)
FillMembers(IListMembers, IList<INetNamespace>)
FillMembers(IListMembers, IList<ISyntaxNode>, ISyntaxNode, Point, string, CodeCompletionScope, ref int)
FillUnitMembers(IListMembers, CodeCompletionScope)
GetBlockNodeType(ISyntaxNode, ref Point, bool, bool, out CodeCompletionScope)
GetChildType(ISyntaxNode, ISyntaxNode, Point, out CodeCompletionScope, out object, out object, out int)
GetCommentTemplate(Point, ISyntaxNode, string)

Returns xml comment template for given node in the text.

GetDeclaration(ISyntaxTree, ISyntaxNode)
GetDescription(IListMembers, ISyntaxNode, object, string, bool)

Obtains description of some language element.

GetMemberIndex(ISyntaxNode, out MemberAttribute)
GetScopeImageIndex(ISyntaxNode)
GetXmlReferenceNode(ISyntaxNode)

Returns declaration node corresponding to xml comment.

IsDeclarationNode(ref ISyntaxNode, bool)

Indicates whether specified node is a declaration node (contains declaration of some syntax structure, such as class, namespace and so on).

IsNodePartial(ISyntaxNode)
IsObjectOrMethodNode(ISyntaxNode)
IsPrototypeNode(ISyntaxNode, out ISyntaxNode)
IsStructureGuideNode(ISyntaxNode, out IRange)

Indicates whether specified ISyntaxNode is guide node.

IsThisMemberAccessExpression(ISyntaxNode)
IsThisPrototypeExpression(ISyntaxNode, out ISyntaxNode)
IsTypeNode(ISyntaxNode, out ISyntaxNode)
SkipGlobalMembers(ISyntaxNode, CodeCompletionScope, ref bool)