C# 클래스 NGettext.Plural.Ast.TokenDefinition

A token definition that describes behavior of token with specified type.
파일 보기 프로젝트 열기: neris/NGettext 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
LeftDenotationGetter LeftDenotationGetterDelegate
NullDenotationGetter NullDenotationGetterDelegate

공개 메소드들

메소드 설명
GetLeftDenotation ( Token self, Token left ) : Token

Gets a left denotation token for given token using the left denotation getter.

GetNullDenotation ( Token self ) : Token

Gets a null denotation token for given token using the null denotation getter.

SetLeftDenotationGetter ( LeftDenotationGetterDelegate leftDenotationGetter ) : TokenDefinition

Sets a left denotation getter.

SetNullDenotationGetter ( NullDenotationGetterDelegate nullDenotationGetter ) : TokenDefinition

Sets a null denotation getter.

TokenDefinition ( TokenType tokenType, int leftBindingPower ) : System

Initializes a new instance of the TokenDefinition class for given token type with given left binding power.

메소드 상세

GetLeftDenotation() 공개 메소드

Gets a left denotation token for given token using the left denotation getter.
public GetLeftDenotation ( Token self, Token left ) : Token
self Token
left Token
리턴 Token

GetNullDenotation() 공개 메소드

Gets a null denotation token for given token using the null denotation getter.
public GetNullDenotation ( Token self ) : Token
self Token
리턴 Token

SetLeftDenotationGetter() 공개 메소드

Sets a left denotation getter.
public SetLeftDenotationGetter ( LeftDenotationGetterDelegate leftDenotationGetter ) : TokenDefinition
leftDenotationGetter LeftDenotationGetterDelegate
리턴 TokenDefinition

SetNullDenotationGetter() 공개 메소드

Sets a null denotation getter.
public SetNullDenotationGetter ( NullDenotationGetterDelegate nullDenotationGetter ) : TokenDefinition
nullDenotationGetter NullDenotationGetterDelegate
리턴 TokenDefinition

TokenDefinition() 공개 메소드

Initializes a new instance of the TokenDefinition class for given token type with given left binding power.
public TokenDefinition ( TokenType tokenType, int leftBindingPower ) : System
tokenType TokenType
leftBindingPower int
리턴 System

프로퍼티 상세

LeftDenotationGetter 보호되어 있는 프로퍼티

protected LeftDenotationGetterDelegate LeftDenotationGetter
리턴 LeftDenotationGetterDelegate

NullDenotationGetter 보호되어 있는 프로퍼티

protected NullDenotationGetterDelegate NullDenotationGetter
리턴 NullDenotationGetterDelegate