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

Afficher le fichier Open project: PaulMineau/AIMA.Net

Protected Properties

Свойство Type Description
_lookAhead int
lexer Lexer
lookAheadBuffer AIMA.Core.Logic.Common.Token[]

Méthodes publiques

Méthode Description
parse ( String input ) : ParseTreeNode

Méthodes protégées

Méthode Description
consume ( ) : void
fillLookAheadBuffer ( ) : void
isEndOfInput ( Token t ) : bool
loadNextTokenFromInput ( ) : void
lookAhead ( int i ) : Token
match ( String terminalSymbol ) : void

Method Details

consume() protected méthode

protected consume ( ) : void
Résultat void

fillLookAheadBuffer() protected méthode

protected fillLookAheadBuffer ( ) : void
Résultat void

isEndOfInput() protected méthode

protected isEndOfInput ( Token t ) : bool
t Token
Résultat bool

loadNextTokenFromInput() protected méthode

protected loadNextTokenFromInput ( ) : void
Résultat void

lookAhead() protected méthode

protected lookAhead ( int i ) : Token
i int
Résultat Token

match() protected méthode

protected match ( String terminalSymbol ) : void
terminalSymbol String
Résultat void

parse() public abstract méthode

public abstract parse ( String input ) : ParseTreeNode
input String
Résultat ParseTreeNode

Property Details

_lookAhead protected_oe property

protected int _lookAhead
Résultat int

lexer protected_oe property

protected Lexer,AIMA.Core.Logic.Common lexer
Résultat Lexer

lookAheadBuffer protected_oe property

protected Token[],AIMA.Core.Logic.Common lookAheadBuffer
Résultat AIMA.Core.Logic.Common.Token[]