C# Class LexicalAnalysis.FSACharConst

FSACharConst ============ The FSA for scanning a C character constant. Upon finish, we can retrive a token of character. A character constant can either be represented by * '[char]' or * L'[char]' The character inside the quotes is read by FSAChar. Note that if the inner character is a single quote, it needs to be escaped.
Inheritance: FSA
Afficher le fichier Open project: phisiart/C-Compiler

Méthodes publiques

Méthode Description
FSACharConst ( ) : System
GetStatus ( ) : FSAStatus
ReadChar ( Char ch ) : void
ReadEOF ( ) : void
Reset ( ) : void
RetrieveToken ( ) : Token

Method Details

FSACharConst() public méthode

public FSACharConst ( ) : System
Résultat System

GetStatus() public méthode

public GetStatus ( ) : FSAStatus
Résultat FSAStatus

ReadChar() public méthode

public ReadChar ( Char ch ) : void
ch Char
Résultat void

ReadEOF() public méthode

public ReadEOF ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

RetrieveToken() public méthode

public RetrieveToken ( ) : Token
Résultat Token