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
CsParser
class with default settings.
Fields
Methods
- CreateRepository()
Creates
ICodeCompletionRepository
to perform code completion functionality for this parser.
- GetCompletionType(char)
Obtains type of code completion window from specifies
char
parameter.
- 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.
- ReparseText()
Reparses entire text.
- Reset()
Resets
NetSyntaxParser
to the start position.
- ResetAutoIndentChars()
Resets the
AutoIndentChars
to the default value.
- ResetCodeCompletionChars()
Resets the
CodeCompletionChars
to the default value.
- ResetCodeCompletionStopChars()
Resets the
CodeCompletionStopChars
to the default value.
- ResetSmartFormatChars()
Resets the
SmartFormatChars
to the default value.
- 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.
- ShouldSerializeSmartFormatChars()
Indicates whether the
SmartFormatChars
property should be persisted.