NGettext.Plural.Ast.TokenDefinition.TokenDefinition C# (CSharp) Method

TokenDefinition() public method

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
return System
        public TokenDefinition(TokenType tokenType, int leftBindingPower)
        {
            this.TokenType = tokenType;
            this.LeftBindingPower = leftBindingPower;
        }