YAP 7.1.0
scan_to_list/2

scan_to_list( +Stream, -Tokens ) More...

Detailed Description

scan_to_list( +Stream, -Tokens )

Generate a list of tokens from a scan of the (input) stream, Tokens are of the form:

  • atom(Atom)
  • <QQ>(Text)
  • number(Number)
  • var(VarName)
  • string(String)
  • 'EOF''
  • symbols, including (, ), ,, ;

The documentation for this class was generated from the following file: