C-minor v0.0

Tokenizer.SkipIdentifier Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: Tokenizer

Overloads

SkipIdentifier()

Returns the current identifier, throwing an CodeException if the current token is not an identifier

SkipIdentifier(string)

Skips a specified identifier, throwing a CodeException if the current token is not an identifier or doesn't match the specified identifier name

SkipIdentifier()

Returns the current identifier, throwing an CodeException if the current token is not an identifier

public string SkipIdentifier();

Returns

string

The identifier name

SkipIdentifier(string)

Skips a specified identifier, throwing a CodeException if the current token is not an identifier or doesn't match the specified identifier name

public void SkipIdentifier(string name);

Parameters

string name

The identifer to check skip