Scanner Class

Definition

Line 10 of Calculator/Scanner.cm

Constructors & Destructor

public nothrow Scanner(const String<uchar>& input_)

Member Functions

public inline nothrow Token* CurrentToken() const
public void NextToken()
public void Rewind()
private void SkipWhiteSpace()

Member Variables

private String<uchar> input
private int pos
private UniquePtr<Token> token

Constructor& Destructor Details

Scanner Constructor

public nothrow Scanner(const String<uchar>& input_)

Definition
Line 12 of Calculator/Scanner.cm


Member Function Details

CurrentToken Member Function

public inline nothrow Token* CurrentToken()

Definition
Line 15 of Calculator/Scanner.cm


NextToken Member Function

public void NextToken()

Definition
Line 19 of Calculator/Scanner.cm


Rewind Member Function

public void Rewind()

Definition
Line 64 of Calculator/Scanner.cm


SkipWhiteSpace Member Function

private void SkipWhiteSpace()

Definition
Line 68 of Calculator/Scanner.cm