Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Classes | Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Lucene.Net.Analysis.Token Class Reference

A Token is an occurrence of a term from the text of a field. It consists of a term's text, the start and end offset of the term in the text of the field, and a type string. The start and end offsets permit applications to re-associate a token with its source text, e.g., to display highlighted query terms in a document browser, or to show matching text fragments in a <abbr title="KeyWord In Context">KWIC</abbr> display, etc. The type is a string, assigned by a lexical analyzer (a.k.a. tokenizer), naming the lexical or syntactic class that the token belongs to. For example an end of sentence marker token might be implemented with type "eos". The default token type is "word". A Token can optionally have metadata (a.k.a. Payload) in the form of a variable length byte array. Use TermPositions.PayloadLength and TermPositions.GetPayload(byte[], int) to retrieve the payloads from the index. More...

Inherits Lucene.Net.Util.Attribute, Lucene.Net.Analysis.Tokenattributes.ITermAttribute, Lucene.Net.Analysis.Tokenattributes.ITypeAttribute, Lucene.Net.Analysis.Tokenattributes.IPositionIncrementAttribute, Lucene.Net.Analysis.Tokenattributes.IFlagsAttribute, Lucene.Net.Analysis.Tokenattributes.IOffsetAttribute, and Lucene.Net.Analysis.Tokenattributes.IPayloadAttribute.

Classes

class  TokenAttributeFactory
 Expert: Creates an AttributeFactory returning Token as instance for the basic attributes and for all other attributes calls the given delegate factory. More...
 

Public Member Functions

 Token ()
 Constructs a Token will null text.
 
 Token (int start, int end)
 Constructs a Token with null text and start & end offsets.
 
 Token (int start, int end, String typ)
 Constructs a Token with null text and start & end offsets plus the Token type.
 
 Token (int start, int end, int flags)
 Constructs a Token with null text and start & end offsets plus flags. NOTE: flags is EXPERIMENTAL.
 
 Token (String text, int start, int end)
 Constructs a Token with the given term text, and start & end offsets. The type defaults to "word." NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
 
 Token (System.String text, int start, int end, System.String typ)
 Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
 
 Token (System.String text, int start, int end, int flags)
 Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
 
 Token (char[] startTermBuffer, int termBufferOffset, int termBufferLength, int start, int end)
 Constructs a Token with the given term buffer (offset & length), start and end offsets
 
void SetTermBuffer (char[] buffer, int offset, int length)
 Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.
 
void SetTermBuffer (System.String buffer)
 Copies the contents of buffer into the termBuffer array.
 
void SetTermBuffer (System.String buffer, int offset, int length)
 Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.
 
char[] TermBuffer ()
 Returns the internal termBuffer character array which you can then directly alter. If the array is too small for your token, use ResizeTermBuffer(int) to increase it. After altering the buffer be sure to call SetTermLength to record the number of valid characters that were placed into the termBuffer.
 
virtual char[] ResizeTermBuffer (int newSize)
 Grows the termBuffer to at least size newSize, preserving the existing content. Note: If the next operation is to change the contents of the term buffer use SetTermBuffer(char[], int, int), SetTermBuffer(String), or SetTermBuffer(String, int, int) to optimally combine the resize with the setting of the termBuffer.
 
int TermLength ()
 Return number of valid characters (length of the term) in the termBuffer array.
 
void SetTermLength (int length)
 Set number of valid characters (length of the term) in the termBuffer array. Use this to truncate the termBuffer or to synchronize with external manipulation of the termBuffer. Note: to grow the size of the array, use ResizeTermBuffer(int) first.
 
virtual void SetOffset (int startOffset, int endOffset)
 Set the starting and ending offset. See StartOffset() and EndOffset()
 
override String ToString ()
 
override void Clear ()
 Resets the term text, payload, flags, and positionIncrement, startOffset, endOffset and token type to default.
 
override System.Object Clone ()
 Shallow clone. Subclasses must override this if they need to clone any members deeply,
 
virtual Token Clone (char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
 Makes a clone, but replaces the term buffer & start/end offset in the process. This is more efficient than doing a full clone (and then calling setTermBuffer) because it saves a wasted copy of the old termBuffer.
 
override bool Equals (Object obj)
 
override int GetHashCode ()
 Subclasses must implement this method and should compute a hashCode similar to this:
 
virtual Token Reinit (char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, System.String newType)
 Shorthand for calling Clear, SetTermBuffer(char[], int, int), StartOffset, EndOffset, Type
 
virtual Token Reinit (char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
 Shorthand for calling Clear, SetTermBuffer(char[], int, int), StartOffset, EndOffset Type on Token.DEFAULT_TYPE
 
virtual Token Reinit (System.String newTerm, int newStartOffset, int newEndOffset, System.String newType)
 Shorthand for calling Clear, SetTermBuffer(String), StartOffset, EndOffset Type
 
virtual Token Reinit (System.String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, System.String newType)
 Shorthand for calling Clear, SetTermBuffer(String, int, int), StartOffset, EndOffset Type
 
virtual Token Reinit (System.String newTerm, int newStartOffset, int newEndOffset)
 Shorthand for calling Clear, SetTermBuffer(String), StartOffset, EndOffset Type on Token.DEFAULT_TYPE
 
virtual Token Reinit (System.String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
 Shorthand for calling Clear, SetTermBuffer(String, int, int), StartOffset, EndOffset Type on Token.DEFAULT_TYPE
 
virtual void Reinit (Token prototype)
 Copy the prototype token's fields into this one. Note: Payloads are shared.
 
virtual void Reinit (Token prototype, System.String newTerm)
 Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.
 
virtual void Reinit (Token prototype, char[] newTermBuffer, int offset, int length)
 Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.
 
override void CopyTo (Attribute target)
 
- Public Member Functions inherited from Lucene.Net.Util.Attribute
override System.String ToString ()
 The default implementation of this method accesses all declared fields of this object and prints the values in the following syntax:
 
abstract override bool Equals (System.Object other)
 All values used for computation of GetHashCode() should be checked here for equality.
 

Public Attributes

const String DEFAULT_TYPE = "word"
 

Static Public Attributes

static
AttributeSource.AttributeFactory 
TOKEN_ATTRIBUTE_FACTORY
 

Properties

virtual int PositionIncrement [get, set]
 Set the position increment. This determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
 
string Term [get]
 Returns the Token's term text.
 
virtual int StartOffset [get, set]
 Gets or sets this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to TermLength, as the term text may have been altered by a stemmer or some other filter.
 
virtual int EndOffset [get, set]
 Gets or sets this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. The length of the token in the source text is (endOffset - startOffset).
 
string Type [get, set]
 Returns this Token's lexical type. Defaults to "word".
 
virtual int Flags [get, set]
 EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
 
virtual Payload Payload [get, set]
 Returns this Token's payload.
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.ITermAttribute
string Term [get]
 Returns the Token's term text.
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.ITypeAttribute
string Type [get, set]
 Gets or sets this Token's lexical type. Defaults to "word".
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.IPositionIncrementAttribute
int PositionIncrement [get, set]
 Gets or sets the position increment. The default value is one.
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.IFlagsAttribute
int Flags [get, set]
 EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.IOffsetAttribute
int StartOffset [get]
 Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to termText.length(), as the term text may have been altered by a stemmer or some other filter.
 
int EndOffset [get]
 Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. The length of the token in the source text is (endOffset - startOffset).
 
- Properties inherited from Lucene.Net.Analysis.Tokenattributes.IPayloadAttribute
Payload Payload [get, set]
 Returns this Token's payload.
 

Detailed Description

A Token is an occurrence of a term from the text of a field. It consists of a term's text, the start and end offset of the term in the text of the field, and a type string.

The start and end offsets permit applications to re-associate a token with its source text, e.g., to display highlighted query terms in a document browser, or to show matching text fragments in a <abbr title="KeyWord In Context">KWIC</abbr> display, etc.

The type is a string, assigned by a lexical analyzer (a.k.a. tokenizer), naming the lexical or syntactic class that the token belongs to. For example an end of sentence marker token might be implemented with type "eos". The default token type is "word".

A Token can optionally have metadata (a.k.a. Payload) in the form of a variable length byte array. Use TermPositions.PayloadLength and TermPositions.GetPayload(byte[], int) to retrieve the payloads from the index.



NOTE: As of 2.9, Token implements all IAttribute interfaces that are part of core Lucene and can be found in the Lucene.Net.Analysis.Tokenattributes namespace. Even though it is not necessary to use Token anymore, with the new TokenStream API it can be used as convenience class that implements all IAttributes, which is especially useful to easily switch from the old to the new TokenStream API.

Tokenizers and TokenFilters should try to re-use a Token instance when possible for best performance, by implementing the TokenStream.IncrementToken() API. Failing that, to create a new Token you should first use one of the constructors that starts with null text. To load the token from a char[] use SetTermBuffer(char[], int, int). To load from a String use SetTermBuffer(String) or SetTermBuffer(String, int, int). Alternatively you can get the Token's termBuffer by calling either TermBuffer(), if you know that your text is shorter than the capacity of the termBuffer or ResizeTermBuffer(int), if there is any possibility that you may need to grow the buffer. Fill in the characters of your term into this buffer, with string.ToCharArray(int, int) if loading from a string, or with Array.Copy(Array, long, Array, long, long), and finally call SetTermLength(int) to set the length of the term text. See LUCENE-969 for details.

Typical Token reuse patterns:

A few things to note:

See Also
Lucene.Net.Index.Payload

Definition at line 118 of file Token.cs.

Constructor & Destructor Documentation

Lucene.Net.Analysis.Token.Token ( )

Constructs a Token will null text.

Definition at line 133 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( int  start,
int  end 
)

Constructs a Token with null text and start & end offsets.

Parameters
startstart offset in the source text
endend offset in the source text

Definition at line 142 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( int  start,
int  end,
String  typ 
)

Constructs a Token with null text and start & end offsets plus the Token type.

Parameters
startstart offset in the source text
endend offset in the source text
typthe lexical type of this Token

Definition at line 154 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( int  start,
int  end,
int  flags 
)

Constructs a Token with null text and start & end offsets plus flags. NOTE: flags is EXPERIMENTAL.

Parameters
startstart offset in the source text
endend offset in the source text
flagsThe bits to set for this token

Definition at line 167 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( String  text,
int  start,
int  end 
)

Constructs a Token with the given term text, and start & end offsets. The type defaults to "word." NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.

Parameters
textterm text
startstart offset
endend offset

Definition at line 183 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( System.String  text,
int  start,
int  end,
System.String  typ 
)

Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.

Parameters
textterm text
startstart offset
endend offset
typtoken type

Definition at line 199 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( System.String  text,
int  start,
int  end,
int  flags 
)

Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.

Parameters
text
start
end
flagstoken type bits

Definition at line 216 of file Token.cs.

Lucene.Net.Analysis.Token.Token ( char[]  startTermBuffer,
int  termBufferOffset,
int  termBufferLength,
int  start,
int  end 
)

Constructs a Token with the given term buffer (offset & length), start and end offsets

Parameters
startTermBuffer
termBufferOffset
termBufferLength
start
end

Definition at line 233 of file Token.cs.

Member Function Documentation

override void Lucene.Net.Analysis.Token.Clear ( )
virtual

Resets the term text, payload, flags, and positionIncrement, startOffset, endOffset and token type to default.

Implements Lucene.Net.Util.Attribute.

Definition at line 522 of file Token.cs.

override System.Object Lucene.Net.Analysis.Token.Clone ( )
virtual

Shallow clone. Subclasses must override this if they need to clone any members deeply,

Reimplemented from Lucene.Net.Util.Attribute.

Definition at line 533 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Clone ( char[]  newTermBuffer,
int  newTermOffset,
int  newTermLength,
int  newStartOffset,
int  newEndOffset 
)
virtual

Makes a clone, but replaces the term buffer & start/end offset in the process. This is more efficient than doing a full clone (and then calling setTermBuffer) because it saves a wasted copy of the old termBuffer.

Definition at line 555 of file Token.cs.

override void Lucene.Net.Analysis.Token.CopyTo ( Attribute  target)
virtual

summary> Convenience factory that returns Token as implementation for the basic attributes and return the default impl (with "Impl" appended) for all other attributes.

Since
3.0

Implements Lucene.Net.Util.Attribute.

Definition at line 780 of file Token.cs.

override bool Lucene.Net.Analysis.Token.Equals ( Object  obj)

Definition at line 564 of file Token.cs.

override int Lucene.Net.Analysis.Token.GetHashCode ( )
virtual

Subclasses must implement this method and should compute a hashCode similar to this:

public int hashCode() { int code = startOffset; code = code * 31 + endOffset; return code; }

see also Equals(Object)

Implements Lucene.Net.Util.Attribute.

Definition at line 595 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( char[]  newTermBuffer,
int  newTermOffset,
int  newTermLength,
int  newStartOffset,
int  newEndOffset,
System.String  newType 
)
virtual

Shorthand for calling Clear, SetTermBuffer(char[], int, int), StartOffset, EndOffset, Type

Returns
this Token instance

Definition at line 627 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( char[]  newTermBuffer,
int  newTermOffset,
int  newTermLength,
int  newStartOffset,
int  newEndOffset 
)
virtual

Shorthand for calling Clear, SetTermBuffer(char[], int, int), StartOffset, EndOffset Type on Token.DEFAULT_TYPE

Returns
this Token instance

Definition at line 647 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( System.String  newTerm,
int  newStartOffset,
int  newEndOffset,
System.String  newType 
)
virtual

Shorthand for calling Clear, SetTermBuffer(String), StartOffset, EndOffset Type

Returns
this Token instance

Definition at line 665 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( System.String  newTerm,
int  newTermOffset,
int  newTermLength,
int  newStartOffset,
int  newEndOffset,
System.String  newType 
)
virtual

Shorthand for calling Clear, SetTermBuffer(String, int, int), StartOffset, EndOffset Type

Returns
this Token instance

Definition at line 683 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( System.String  newTerm,
int  newStartOffset,
int  newEndOffset 
)
virtual

Shorthand for calling Clear, SetTermBuffer(String), StartOffset, EndOffset Type on Token.DEFAULT_TYPE

Returns
this Token instance

Definition at line 701 of file Token.cs.

virtual Token Lucene.Net.Analysis.Token.Reinit ( System.String  newTerm,
int  newTermOffset,
int  newTermLength,
int  newStartOffset,
int  newEndOffset 
)
virtual

Shorthand for calling Clear, SetTermBuffer(String, int, int), StartOffset, EndOffset Type on Token.DEFAULT_TYPE

Returns
this Token instance

Definition at line 719 of file Token.cs.

virtual void Lucene.Net.Analysis.Token.Reinit ( Token  prototype)
virtual

Copy the prototype token's fields into this one. Note: Payloads are shared.

Parameters
prototype

Definition at line 732 of file Token.cs.

virtual void Lucene.Net.Analysis.Token.Reinit ( Token  prototype,
System.String  newTerm 
)
virtual

Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.

Parameters
prototype
newTerm

Definition at line 749 of file Token.cs.

virtual void Lucene.Net.Analysis.Token.Reinit ( Token  prototype,
char[]  newTermBuffer,
int  offset,
int  length 
)
virtual

Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.

Parameters
prototype
newTermBuffer
offset
length

Definition at line 769 of file Token.cs.

virtual char [] Lucene.Net.Analysis.Token.ResizeTermBuffer ( int  newSize)
virtual

Grows the termBuffer to at least size newSize, preserving the existing content. Note: If the next operation is to change the contents of the term buffer use SetTermBuffer(char[], int, int), SetTermBuffer(String), or SetTermBuffer(String, int, int) to optimally combine the resize with the setting of the termBuffer.

Parameters
newSizeminimum size of the new termBuffer
Returns
newly created termBuffer with length >= newSize

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 364 of file Token.cs.

virtual void Lucene.Net.Analysis.Token.SetOffset ( int  startOffset,
int  endOffset 
)
virtual

Set the starting and ending offset. See StartOffset() and EndOffset()

Implements Lucene.Net.Analysis.Tokenattributes.IOffsetAttribute.

Definition at line 466 of file Token.cs.

void Lucene.Net.Analysis.Token.SetTermBuffer ( char[]  buffer,
int  offset,
int  length 
)

Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.

Parameters
bufferthe buffer to copy
offsetthe index in the buffer of the first character to copy
lengththe number of characters to copy

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 302 of file Token.cs.

void Lucene.Net.Analysis.Token.SetTermBuffer ( System.String  buffer)

Copies the contents of buffer into the termBuffer array.

Parameters
bufferthe buffer to copy

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 312 of file Token.cs.

void Lucene.Net.Analysis.Token.SetTermBuffer ( System.String  buffer,
int  offset,
int  length 
)

Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.

Parameters
bufferthe buffer to copy
offsetthe index in the buffer of the first character to copy
lengththe number of characters to copy

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 329 of file Token.cs.

void Lucene.Net.Analysis.Token.SetTermLength ( int  length)

Set number of valid characters (length of the term) in the termBuffer array. Use this to truncate the termBuffer or to synchronize with external manipulation of the termBuffer. Note: to grow the size of the array, use ResizeTermBuffer(int) first.

Parameters
lengththe truncated length

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 433 of file Token.cs.

char [] Lucene.Net.Analysis.Token.TermBuffer ( )

Returns the internal termBuffer character array which you can then directly alter. If the array is too small for your token, use ResizeTermBuffer(int) to increase it. After altering the buffer be sure to call SetTermLength to record the number of valid characters that were placed into the termBuffer.

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 346 of file Token.cs.

int Lucene.Net.Analysis.Token.TermLength ( )

Return number of valid characters (length of the term) in the termBuffer array.

Implements Lucene.Net.Analysis.Tokenattributes.ITermAttribute.

Definition at line 419 of file Token.cs.

override String Lucene.Net.Analysis.Token.ToString ( )

Definition at line 501 of file Token.cs.

Member Data Documentation

const String Lucene.Net.Analysis.Token.DEFAULT_TYPE = "word"

Definition at line 120 of file Token.cs.

AttributeSource.AttributeFactory Lucene.Net.Analysis.Token.TOKEN_ATTRIBUTE_FACTORY
static
Initial value:
=
new TokenAttributeFactory(AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY)

Definition at line 810 of file Token.cs.

Property Documentation

virtual int Lucene.Net.Analysis.Token.EndOffset
getset

Gets or sets this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. The length of the token in the source text is (endOffset - startOffset).

Definition at line 458 of file Token.cs.

virtual int Lucene.Net.Analysis.Token.Flags
getset

EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.

Get the bitset for any bits that have been set. This is completely distinct from Type(), although they do share similar purposes. The flags can be used to encode information about the token for use by other TokenFilters.

The bits

Definition at line 489 of file Token.cs.

virtual Payload Lucene.Net.Analysis.Token.Payload
getset

Returns this Token's payload.

Definition at line 496 of file Token.cs.

virtual int Lucene.Net.Analysis.Token.PositionIncrement
getset

Set the position increment. This determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.

The default value is one.

Some common uses for this are:

  • Set it to zero to put multiple terms in the same position. This is useful if, e.g., a word has multiple stems. Searches for phrases including either stem will match. In this case, all but the first stem's increment should be set to zero: the increment of the first instance should be one. Repeating a token with an increment of zero can also be used to boost the scores of matches on that token.

  • Set it to values greater than one to inhibit exact phrase matches. If, for example, one does not want phrases to match across removed stop words, then one could build a stop word filter that removes stop words and also sets the increment to the number of stop words removed before each non-stop word. Then exact phrase queries will only match when the terms occur with no intervening stop words.

the distance from the prior term

See Also
Lucene.Net.Index.TermPositions

Definition at line 268 of file Token.cs.

virtual int Lucene.Net.Analysis.Token.StartOffset
getset

Gets or sets this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to TermLength, as the term text may have been altered by a stemmer or some other filter.

Definition at line 448 of file Token.cs.

string Lucene.Net.Analysis.Token.Term
get

Returns the Token's term text.

This method has a performance penalty because the text is stored internally in a char[]. If possible, use TermBuffer() and TermLength() directly instead. If you really need a String, use this method, which is nothing more than a convenience call to new String(token.termBuffer(), 0, token.termLength())

Definition at line 288 of file Token.cs.

string Lucene.Net.Analysis.Token.Type
getset

Returns this Token's lexical type. Defaults to "word".

Definition at line 474 of file Token.cs.


The documentation for this class was generated from the following file: