Pike v8.1 release 6

Class Parser.C.Token

Description

Represents a C token, along with a selection of associated data and operations.


Variable file

string Parser.C.Token.file

Description

The file in which the token was found.


Variable line

int Parser.C.Token.line

Description

The line where the token was found.


Variable text

string Parser.C.Token.text

Description

The actual token.


Variable trailing_whitespaces

string Parser.C.Token.trailing_whitespaces

Description

Trailing whitespaces.


Method create

Parser.C.Token Parser.C.Token(string text, void|int line, void|string file, void|string trailing_whitespace)