Class CsParser
Represents a class that performs syntax and lexical analysis of the specified C# code.
public class CsParser : NetSyntaxParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
- Inheritance
-
CsParser
- Implements
- Derived
Constructors
- CsParser()
Initializes a new instance of the
CsParserclass with default settings.
Fields
Properties
Methods
- CreateRepository()
Creates
ICodeCompletionRepositoryto perform code completion functionality for this parser.
- GetCompletionType(char)
Obtains type of code completion window from specifies
charparameter.
- GetSingleLineComment()
Gets the string that represents start symbol of single line comment.
- GetXmlComment()
Gets the string that represents start symbols of xml comment.
- IsCodeCompletionChar(char, byte, ref int)
Returns boolean value indicating that given character initializes a code completion procedure when typing.
- ParseText(int, int, string, ref StringItemInfo[])
Performs lexical analysis of given text.
- ParseText(int, int, string, ref int, ref int, ref int)
Performs lexical analysis of given text.
- RegisterDefaultItems(IReflectionRepository)
Registers the default items (types, snippets, etc.) for the C# language in the provided repository.
- RegisterDefaultSnippets(IReflectionRepository)
Registers the default code snippets for the C# language in the provided repository.
- RegisterDefaultTypes(IReflectionRepository)
Registers the default types for the C# language in the provided repository.
- ReparseText()
Reparses entire text.
- Reset()
Resets
NetSyntaxParserto the start position.
- ResetAutoIndentChars()
Resets the
AutoIndentCharsto the default value.
- ResetCodeCompletionChars()
Resets the
CodeCompletionCharsto the default value.
- ResetCodeCompletionStopChars()
Resets the
CodeCompletionStopCharsto the default value.
- ResetSmartFormatChars()
Resets the
SmartFormatCharsto the default value.
- ShouldSerializeAutoIndentChars()
Indicates whether the
AutoIndentCharsproperty should be persisted.
- ShouldSerializeCodeCompletionChars()
Indicates whether the
CodeCompletionCharsproperty should be persisted.
- ShouldSerializeCodeCompletionStopChars()
Indicates whether the
CodeCompletionStopCharsproperty should be persisted.
- ShouldSerializeSmartFormatChars()
Indicates whether the
SmartFormatCharsproperty should be persisted.