C# 클래스 XSpect.Yacq.LanguageServices.StandardGrammar

Provides the default grammar. This grammar cannot modify.
상속: Grammar
파일 보기 프로젝트 열기: takeshik/yacq

공개 메소드들

메소드 설명
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