C# 클래스 LispEngine.Lexing.Scanner

파일 보기 프로젝트 열기: Patient0/FirstClassLisp 1 사용 예제들

공개 메소드들

메소드 설명
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