Table of Contents

Class RParser

Namespace
Alternet.Syntax.Parsers.Lsp.R
Assembly
Alternet.Syntax.Parsers.R.v10.dll

Represents a class that performs syntax and lexical analysis of specified R code text.

public class RParser : LspParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport, ILspDocumentProvider
Inheritance
RParser
Implements
Derived

Constructors

RParser()

Initializes a new instance of the RParser class with default settings.

RParser(IContainer)

Initializes a new instance of the RParser class with specified container.

Fields

CodeStyleWarningCodes
DefaultRSmartFormatChars

Represents a default collection of characters that initializes a smart formatting procedure when typing.

DefaultRSyntaxOptions

Represents default set of flags determining syntax parsing and formatting behavior.

Properties

CaseSensitive

Gets or sets a boolean value that indicates whether SyntaxParser should perform case-sensitive analysis of its content.

CodeStyleWarningsEnabled

Gets or sets a boolean value which indicates is code style warnings are enabled.

Workspace

Methods

CreateRepository()

Creates ICodeCompletionRepository to perform code completion functionality for this parser.

CreateWorkspace()
DiagnosticToSyntaxError(Diagnostic)
InitTokenizer()
ResetOptions()

Resets Options to the default value.

ResetSmartFormatChars()

Resets the SmartFormatChars to the default value.

ShouldSerializeOptions()

Indicates whether the Options property should be persisted.

ShouldSerializeSmartFormatChars()

Indicates whether the SmartFormatChars property should be persisted.