parse-js

API Reference

parse-js

JavaScript parser

PARSE-JS

  • Function TOKEN-TYPE (instance)
  • Function (setf TOKEN-TYPE) (value instance)
  • Function TOKEN-VALUE (instance)
  • Function (setf TOKEN-VALUE) (value instance)
  • Function TOKEN-LINE (instance)
  • Function (setf TOKEN-LINE) (value instance)
  • Function TOKEN-CHAR (instance)
  • Function (setf TOKEN-CHAR) (value instance)
  • Function TOKEN-POS (instance)
  • Function (setf TOKEN-POS) (value instance)
  • Function TOKEN-NEWLINE-BEFORE (instance)
  • Function (setf TOKEN-NEWLINE-BEFORE) (value instance)
  • Function TOKEN-COMMENTS-BEFORE (instance)
  • Function (setf TOKEN-COMMENTS-BEFORE) (value instance)
  • Condition JS-PARSE-ERROR  (SIMPLE-ERROR)
  • Function JS-PARSE-ERROR (control &rest args)
  • Variable *CHECK-FOR-RESERVED-WORDS*
    nil
  • Variable *ECMA-VERSION*
    3
  • Function READ-JS-NUMBER (stream &key junk-allowed)
  • Function LEX-JS (stream &key include-comments)
  • Function PARSE-JS (input &key strict-semicolons (ecma-version 3) reserved-words)
  • Function PARSE-JS-STRING (&rest args)