Class NetSyntaxParser
Represents properties and methods to perform syntax analysis of the text intended to use for NET. family of languages.
public class NetSyntaxParser : SyntaxParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
- Inheritance
-
NetSyntaxParser
- Implements
- Derived
Constructors
- NetSyntaxParser()
Initializes a new instance of the
NetSyntaxParser
class with default settings.
Fields
Properties
- CaseSensitive
Gets or sets a boolean value that indicates whether
NetSyntaxParser
should perform case-sensitive analysis of its content.
- ExpressionEvaluator
Gets or sets an
IExpressionEvaluator
instance using to evaluate conditional defines.
Methods
- CodeCompletion(string, StringItemInfo[], Point, CodeCompletionArgs)
Performs code completion for the specified text representing language element.
- CreateRepository()
Initializes a new instance of the
ReflectionRepository
class with default settings.
- FindDeclaration(Point)
Finds the declaration node at given position.
- FindReferences(Point, IRangeList, bool)
Locates declaration at given position and finds all references to this declaration in the text.
- FinishParsing()
Commits parsing process.
- GetAutoFormatNode(Point, bool, out Point)
Obtains block node at specified position.
- GetCompletionType(char)
Obtains type of code completion window from specifies
char
parameter.
- GetContentDividers(IList<int>)
Gets list of content dividers.
- GetStructureGuideLines(IList<IRange>)
Gets list of guide lines.
- GetXmlComment()
Gets the string that represents start symbols of xml comment.
- IsDeclaration(ISyntaxNode)
Indicates whether specified node is a declaration node (contains declaration of some syntax structure, such as class, namespace and so on).
- PositionChanged(int, int, int, int)
Changes positions of any syntax nodes and its elements located next to the specified position.
- ProcessAutoComplete(string, Point, out string)
Checks whether end-of-block code needs inserting.
- RegisterAllAssemblies()
Registers all assemblies from the current application domain.
- RegisterAssembly(Assembly)
Adds specified assembly for code completion to the repository's assembly list.
- RegisterAssembly(string)
Adds specified assembly for code completion to the repository's assembly list.
- RegisterDefaultAssemblies()
Registers some most frequently used assemblies.
- RegisterNamespace(string)
Adds specified namespace to the repository's namespace list.
- RegisterNamespace(string, string)
Adds specified namespace to the repository's namespace list.
- RegisterObject(string, object)
Adds specified object for code completion to the repository's object list.
- RegisterType(string, Type)
Adds specified type for code completion to the repository's type list.
- RegisterType(string, Type, bool)
Adds specified type for code completion to the repository's type list.
- ReparseBlock(Point)
Reparses syntax block at specified position.
- ReparseText()
Reparses entire text.
- Reset()
Resets
NetSyntaxParser
to the start position.
- ResetAutoIndentChars()
Resets
AutoIndentChars
to the default value.
- ResetCodeCompletionChars()
Resets
CodeCompletionChars
to the default value.
- ResetCodeCompletionStopChars()
Resets
CodeCompletionStopChars
to the default value.
- ResetOptions()
Resets
Options
to the default value.
- RestoreState(bool)
Restores
Parser
state and position stored bySaveState
method.
- SaveState()
Saves current
Parser
state and position.
- ShouldSerializeAutoIndentChars()
Indicates whether the
AutoIndentChars
property should be persisted.
- ShouldSerializeCodeCompletionChars()
Indicates whether the
CodeCompletionChars
property should be persisted.
- ShouldSerializeCodeCompletionStopChars()
Indicates whether the
CodeCompletionStopChars
property should be persisted.
- ShouldSerializeOptions()
Indicates whether the
Options
property should be persisted.
- SmartFormatLine(int, string, StringItemInfo[], ITextUndoList, out bool)
Formats line according to the parser rules.
- UnregisterAssembly(Assembly, bool)
Removes specified assembly from the repository's assembly list.
- UnregisterAssembly(string, bool)
Removes specified assembly from the repository's assembly list.
- UnregisterNamespace(string)
Removes specified namespace from the repository's namespace list.
- UnregisterObject(string)
Removes specified object from the repository's object list.
- UnregisterType(string)
Removes specified type from the repository's type list.