TParser.TokenWideString

Returns the current token as a widestring

Declaration

Source position: classesh.inc line 1828

public 
  function TokenWideString : WideString;

Description

If current token type is toWString , this method returns the contents of the string. That is, enclosing quotes are removed, embedded quotes are unescaped and control strings are converted to the appropriate sequence of characters.

If current token isn't a widestring, TokenWideString behaviour is the same as TokenString .

Errors

None.

See also

Name Description
toWString Value returned by TParser.Token when a widestring was found in the input stream.
TParser.NextToken Reads the next token and returns its type.
TParser.Token The type of the current token.
TokenString Returns the current token as a string.

results matching ""

    No results matching ""