Scanner<TBuffer> Class
Converts a sequence of characters into a sequence of YAML tokens.
public class Scanner<TBuffer> where TBuffer : ILookAheadBufferType parameters
TBuffer
Constructors
| Name | Description |
|---|---|
| Scanner(TBuffer) | Initializes a new instance of the Scanner<TBuffer> class. |
Scanner(TBuffer)
Scanner.csInitializes a new instance of the Scanner<TBuffer> class.
public Scanner(TBuffer buffer)Parameters
bufferTBuffer- The buffer.
Properties
| Name | Description |
|---|---|
| Current | Gets the current token. |
| CurrentPosition | Gets the current position inside the input stream. |
Current
Scanner.csCurrentPosition
Scanner.csMethods
| Name | Description |
|---|---|
| MoveNext() | Moves to the next token. |
MoveNext()
Scanner.csConstants
| Name | Description |
|---|---|
| MaxBufferLength | Defines the max buffer length constant. |
MaxBufferLength
Defines the max buffer length constant.
public const int MaxBufferLength = 12