[an error occurred while processing this directive]

Specification of the interface "TokenSource". [] (TokenSource interface (token_source)), specification, page 721825
http://www.purl.org/stefan_ram/pub/interface_token_source_en (canonical URI).
start page

TokenSource

TokenSource( TextFilePath )
Create a new TokenSource from a text file path. After creating a new token source, a valid token will be created. Calling "eat" directly after "TokenSource" would skip the first token.
int type = type();
The type of the current token. Positive types are applications specific. Negative types are specified by this interface specification.
−1 End of Character Source 
−2 Read Error of Character Source 
−3 Lexical Syntax Error 
string text = text();
The text of the current token.
int line = startLine()
The line of the start of the current token.
int position = startPosition()
The position (relative to the start of the line) of the current token.
eat();
Get next token
close();
Close this token source.

Beginning at the start page often more information about the topics of this page can be found. (A link to the start page appears at the very top of this page.)  |   Email-address of Stefan Ram: "ram@zedat.fu-berlin.de" (without the quotation marks)   |   About this page  |   Form for messages to the publisher regarding this page  |   Copyright 2003 Stefan Ram, Berlin. All rights reserved. This page is a publication by Stefan Ram. slrprd, PbclevtugFgrsnaEnz