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
System.Object
PrioritizedToken
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
System.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 |
---|---|
System.Int32 |
Token
Gets or sets the token.
Declaration
public Token Token
Field Value
Type | Description |
---|---|
Token |