C# Class AIMA.Core.Logic.Common.Lexer

Show file Open project: PaulMineau/AIMA.Net

Protected Properties

Property Type Description
_lookAhead int
input StringReader
lookAheadBuffer int[]

Public Methods

Method Description
clear ( ) : void
nextToken ( ) : Token
setInput ( String inputString ) : void

Protected Methods

Method Description
consume ( ) : void
fillLookAheadBuffer ( ) : void
isEndOfFile ( int i ) : bool
loadNextCharacterFromInput ( ) : void
lookAhead ( int position ) : char

Method Details

clear() public method

public clear ( ) : void
return void

consume() protected method

protected consume ( ) : void
return void

fillLookAheadBuffer() protected method

protected fillLookAheadBuffer ( ) : void
return void

isEndOfFile() protected method

protected isEndOfFile ( int i ) : bool
i int
return bool

loadNextCharacterFromInput() protected method

protected loadNextCharacterFromInput ( ) : void
return void

lookAhead() protected method

protected lookAhead ( int position ) : char
position int
return char

nextToken() public abstract method

public abstract nextToken ( ) : Token
return Token

setInput() public method

public setInput ( String inputString ) : void
inputString String
return void

Property Details

_lookAhead protected property

protected int _lookAhead
return int

input protected property

protected StringReader input
return StringReader

lookAheadBuffer protected property

protected int[] lookAheadBuffer
return int[]