C# Класс LispEngine.Lexing.Scanner

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( string s ) : Scanner
GetNext ( ) : Token
Recover ( ) : IEnumerable
Scan ( ) : IEnumerable
Scanner ( TextReader input ) : System
fail ( string fmt ) : ParseException

Приватные методы

Метод Описание
isDigit ( ) : bool
isExponent ( ) : bool
isInitial ( ) : bool
isLetter ( ) : bool
isOneOf ( string chars ) : bool
isSpecialInitial ( ) : bool
isSpecialSubsequent ( ) : bool
isSubsequent ( ) : bool
isWhiteSpace ( ) : bool
leadingFloat ( Scanner s ) : TokenType?
match ( TokenType tokenType, Action matchDelegate ) : Matcher
match ( ) : Token
matchDot ( Scanner s ) : TokenType?
matchHash ( Scanner s ) : TokenType?
matchNumber ( Scanner s ) : TokenType?
matchPredicate ( TokenType tokenType, bool>.Func predicate ) : Matcher
matchSingle ( TokenType tokenType, char c ) : Matcher
matchSymbol ( Scanner s ) : bool
more ( ) : bool
peek ( ) : char
readChar ( ) : void
readExponent ( Scanner s ) : TokenType?
remainingFloat ( Scanner s ) : TokenType?
tok ( TokenType type ) : Token
unsignedNumber ( Scanner s ) : TokenType?

Описание методов

Create() публичный статический Метод

public static Create ( string s ) : Scanner
s string
Результат Scanner

GetNext() публичный Метод

public GetNext ( ) : Token
Результат Token

Recover() публичный Метод

public Recover ( ) : IEnumerable
Результат IEnumerable

Scan() публичный Метод

public Scan ( ) : IEnumerable
Результат IEnumerable

Scanner() публичный Метод

public Scanner ( TextReader input ) : System
input TextReader
Результат System

fail() публичный Метод

public fail ( string fmt ) : ParseException
fmt string
Результат LispEngine.Parsing.ParseException