Click or drag to resize

Lexer Class

[This is preliminary documentation and is subject to change.]

Converts a reader containing a Monkeyspeak script into a
Inheritance Hierarchy

Namespace:  Monkeyspeak
Assembly:  Monkeyspeak (in Monkeyspeak.dll) Version: 7.0.10.28723 (7.0.10.28723)
Syntax
public sealed class Lexer : AbstractLexer

The Lexer type exposes the following members.

Constructors
  NameDescription
Public methodLexer
Initializes a new instance of the Lexer class.
Top
Properties
Methods
  NameDescription
Public methodCheckEOF (Overrides AbstractLexerCheckEOF(Int32).)
Public methodCheckIsDigit (Overrides AbstractLexerCheckIsDigit(Char).)
Public methodCheckMatch(Char) (Overrides AbstractLexerCheckMatch(Char).)
Public methodCheckMatch(Int32) (Overrides AbstractLexerCheckMatch(Int32).)
Public methodCheckMatch(String) (Overrides AbstractLexerCheckMatch(String).)
Public methodCheckMatch(Char, Char)
Public methodCheckMatch(Int32, Int32)
Private methodCreateToken(TokenType)
Private methodCreateToken(TokenType, String)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from AbstractLexer.)
Public methodIsMatch(Char)
Public methodIsMatch(Int32)
Public methodIsMatch(String)
Public methodLookAhead (Overrides AbstractLexerLookAhead(Int32).)
Public methodLookBack (Overrides AbstractLexerLookBack(Int32).)
Private methodMatchNumber
Private methodMatchString
Private methodMatchTrigger
Private methodMatchVariable
Public methodNext (Overrides AbstractLexerNext.)
Public methodRead
Reads the tokens from the reader. Used by the Parser.
(Overrides AbstractLexerRead.)
Public methodRead(Int64, Int32) (Overrides AbstractLexerRead(Int64, Int32).)
Public methodReset (Overrides AbstractLexerReset.)
Private methodSkipBlockComment
Private methodSkipLineComment
Top
Fields
  NameDescription
Protected fieldreader (Inherited from AbstractLexer.)
Top
Extension Methods
See Also