C# Class Interpreter.frontend.pascal.tokens.PascalNumberToken

Inheritance: PascalToken
Exibir arquivo Open project: dfdemar/Pascal_Interpreter Class Usage Examples

Public Methods

Method Description
PascalNumberToken ( Source source ) : System

Protected Methods

Method Description
extract ( ) : void
extractNumber ( StringBuilder textBuffer ) : void

Private Methods

Method Description
computeFloatValue ( string wholeDigits, string fractionDigits, string exponentDigits, char exponentSign ) : float
computeIntegerValue ( String digits ) : int
unsignedIntegerDigits ( StringBuilder textBuffer ) : String

Method Details

PascalNumberToken() public method

public PascalNumberToken ( Source source ) : System
source Source
return System

extract() protected method

protected extract ( ) : void
return void

extractNumber() protected method

protected extractNumber ( StringBuilder textBuffer ) : void
textBuffer StringBuilder
return void