Class PrioritizedToken
A Token with an assigned priority, usually originating from a recognizer's priority. This class is for internal purposes only and should not be used in third-party applications.
Inheritance
Object
PrioritizedToken
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class PrioritizedToken
Constructors
PrioritizedToken(Token, Int32)
Initializes a new instance with the specified values.
Declaration
public PrioritizedToken(Token t, int priority)
Parameters
Type | Name | Description |
---|---|---|
Token | t | The token |
Int32 | priority | The priority to assign to the token |
Fields
Priority
Gets or sets the priority assigned to the token
Declaration
public int Priority
Field Value
Type | Description |
---|---|
Int32 |
Token
Gets or sets the token.
Declaration
public Token Token
Field Value
Type | Description |
---|---|
Token |