C# Класс XSpect.Yacq.LanguageServices.StandardGrammar

Provides the default grammar. This grammar cannot modify.
Наследование: Grammar
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( RuleKey key, YacqExpression>.Lazy value ) : void

Adds the rule to this grammar. The standard grammar cannot modify.

Clear ( ) : void

Removes all rules from this grammar. The standard grammar cannot modify.

Remove ( RuleKey key ) : System.Boolean

Removes the symbol with the specified symbol key from this symbol table. The standard grammar cannot modify.

this ( RuleKey key ) : YacqExpression>>.Lazy

Gets the reference to the parser with specified rule key.

Приватные методы

Метод Описание
CheckIfReadOnly ( ) : void
SetPosition ( YacqExpression>.Parser parser ) : YacqExpression>.Parser
StandardGrammar ( ) : System

Описание методов

Add() публичный Метод

Adds the rule to this grammar. The standard grammar cannot modify.
public Add ( RuleKey key, YacqExpression>.Lazy value ) : void
key RuleKey The rule key to add.
value YacqExpression>.Lazy The reference to the parser which defines the rule.
Результат void

Clear() публичный Метод

Removes all rules from this grammar. The standard grammar cannot modify.
public Clear ( ) : void
Результат void

Remove() публичный Метод

Removes the symbol with the specified symbol key from this symbol table. The standard grammar cannot modify.
public Remove ( RuleKey key ) : System.Boolean
key RuleKey The rule key to remove.
Результат System.Boolean

this() публичный Метод

Gets the reference to the parser with specified rule key.
public this ( RuleKey key ) : YacqExpression>>.Lazy
key RuleKey The rule key to get the parser.
Результат YacqExpression>>.Lazy