C# Class io.IoLexer

Mostrar archivo Open project: devaspot/io Class Usage Examples

Public Properties

Property Type Description
charLineIndex System.Collections.ArrayList
currentPos int
errorDescription string
errorToken IoToken
lineHint long
maxChar long
posStack System.Collections.Stack
resultIndex int
s string
specialChars string
tokenStack System.Collections.Stack
tokenStream System.Collections.ArrayList

Public Methods

Method Description
addTokenStringType ( string s1, IoTokenType type ) : IoToken
currentLineNumber ( ) : int
currentToken ( ) : IoToken
grabLength ( ) : int
grabTokenType ( IoTokenType type ) : IoToken
lastPos ( ) : int
lex ( ) : int
messageChain ( ) : void
nameForGroupChar ( char groupChar ) : string
nextChar ( ) : char
onNULL ( ) : bool
peekChar ( ) : char
pop ( ) : IoToken
popPos ( ) : void
popPosBack ( ) : void
prevChar ( ) : char
print ( ) : void
printTokens ( ) : void
pushPos ( ) : void
readChar ( char ch ) : int
readCharAnyCase ( char ch ) : int
readCharIn ( string s ) : int
readCharInRange ( char first, char last ) : int
readCharacter ( ) : int
readCharacters ( ) : int
readComment ( ) : int
readDecimal ( ) : int
readDecimalPlaces ( ) : int
readDigit ( ) : int
readDigits ( ) : int
readExponent ( ) : int
readHexNumber ( ) : int
readIdentifier ( ) : int
readLetter ( ) : int
readMessage ( ) : int
readMessageError ( string name ) : void
readMonoQuote ( ) : int
readNonASCIIChar ( ) : int
readNonQuote ( ) : bool
readNonReturn ( ) : bool
readNumber ( ) : int
readOpChar ( ) : int
readOperator ( ) : int
readPadding ( ) : int
readQuote ( ) : int
readSeparator ( ) : int
readSeparatorChar ( ) : int
readSpecialChar ( ) : int
readString ( string str ) : int
readSymbol ( ) : int
readTerminator ( ) : int
readTerminatorChar ( ) : int
readTokenCharType ( char c, IoTokenType type ) : int
readTokenCharsType ( string chars, IoTokenType type ) : int
readTokenString ( string s ) : int
readTriQuote ( ) : int
readWhitespaceChar ( ) : int
top ( ) : IoToken
topType ( ) : IoTokenType

Private Methods

Method Description
readSlashSlashComment ( ) : int
readWhitespace ( ) : int

Method Details

addTokenStringType() public method

public addTokenStringType ( string s1, IoTokenType type ) : IoToken
s1 string
type IoTokenType
return IoToken

currentLineNumber() public method

public currentLineNumber ( ) : int
return int

currentToken() public method

public currentToken ( ) : IoToken
return IoToken

grabLength() public method

public grabLength ( ) : int
return int

grabTokenType() public method

public grabTokenType ( IoTokenType type ) : IoToken
type IoTokenType
return IoToken

lastPos() public method

public lastPos ( ) : int
return int

lex() public method

public lex ( ) : int
return int

messageChain() public method

public messageChain ( ) : void
return void

nameForGroupChar() public method

public nameForGroupChar ( char groupChar ) : string
groupChar char
return string

nextChar() public method

public nextChar ( ) : char
return char

onNULL() public method

public onNULL ( ) : bool
return bool

peekChar() public method

public peekChar ( ) : char
return char

pop() public method

public pop ( ) : IoToken
return IoToken

popPos() public method

public popPos ( ) : void
return void

popPosBack() public method

public popPosBack ( ) : void
return void

prevChar() public method

public prevChar ( ) : char
return char

print() public method

public print ( ) : void
return void

printTokens() public method

public printTokens ( ) : void
return void

pushPos() public method

public pushPos ( ) : void
return void

readChar() public method

public readChar ( char ch ) : int
ch char
return int

readCharAnyCase() public method

public readCharAnyCase ( char ch ) : int
ch char
return int

readCharIn() public method

public readCharIn ( string s ) : int
s string
return int

readCharInRange() public method

public readCharInRange ( char first, char last ) : int
first char
last char
return int

readCharacter() public method

public readCharacter ( ) : int
return int

readCharacters() public method

public readCharacters ( ) : int
return int

readComment() public method

public readComment ( ) : int
return int

readDecimal() public method

public readDecimal ( ) : int
return int

readDecimalPlaces() public method

public readDecimalPlaces ( ) : int
return int

readDigit() public method

public readDigit ( ) : int
return int

readDigits() public method

public readDigits ( ) : int
return int

readExponent() public method

public readExponent ( ) : int
return int

readHexNumber() public method

public readHexNumber ( ) : int
return int

readIdentifier() public method

public readIdentifier ( ) : int
return int

readLetter() public method

public readLetter ( ) : int
return int

readMessage() public method

public readMessage ( ) : int
return int

readMessageError() public method

public readMessageError ( string name ) : void
name string
return void

readMonoQuote() public method

public readMonoQuote ( ) : int
return int

readNonASCIIChar() public method

public readNonASCIIChar ( ) : int
return int

readNonQuote() public method

public readNonQuote ( ) : bool
return bool

readNonReturn() public method

public readNonReturn ( ) : bool
return bool

readNumber() public method

public readNumber ( ) : int
return int

readOpChar() public method

public readOpChar ( ) : int
return int

readOperator() public method

public readOperator ( ) : int
return int

readPadding() public method

public readPadding ( ) : int
return int

readQuote() public method

public readQuote ( ) : int
return int

readSeparator() public method

public readSeparator ( ) : int
return int

readSeparatorChar() public method

public readSeparatorChar ( ) : int
return int

readSpecialChar() public method

public readSpecialChar ( ) : int
return int

readString() public method

public readString ( string str ) : int
str string
return int

readSymbol() public method

public readSymbol ( ) : int
return int

readTerminator() public method

public readTerminator ( ) : int
return int

readTerminatorChar() public method

public readTerminatorChar ( ) : int
return int

readTokenCharType() public method

public readTokenCharType ( char c, IoTokenType type ) : int
c char
type IoTokenType
return int

readTokenCharsType() public method

public readTokenCharsType ( string chars, IoTokenType type ) : int
chars string
type IoTokenType
return int

readTokenString() public method

public readTokenString ( string s ) : int
s string
return int

readTriQuote() public method

public readTriQuote ( ) : int
return int

readWhitespaceChar() public method

public readWhitespaceChar ( ) : int
return int

top() public method

public top ( ) : IoToken
return IoToken

topType() public method

public topType ( ) : IoTokenType
return IoTokenType

Property Details

charLineIndex public_oe property

public ArrayList,System.Collections charLineIndex
return System.Collections.ArrayList

currentPos public_oe property

public int currentPos
return int

errorDescription public_oe property

public string errorDescription
return string

errorToken public_oe property

public IoToken,io errorToken
return IoToken

lineHint public_oe property

public long lineHint
return long

maxChar public_oe property

public long maxChar
return long

posStack public_oe property

public Stack,System.Collections posStack
return System.Collections.Stack

resultIndex public_oe property

public int resultIndex
return int

s public_oe property

public string s
return string

specialChars public_oe static_oe property

public static string specialChars
return string

tokenStack public_oe property

public Stack,System.Collections tokenStack
return System.Collections.Stack

tokenStream public_oe property

public ArrayList,System.Collections tokenStream
return System.Collections.ArrayList