The parse-js Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The parse-js Reference Manual

This is the parse-js Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 12:22:36 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

1.1 parse-js

Author

Marijn Haverbeke <marijnh@gmail.com>

License

BSD

Description

JavaScript parser

Source

parse-js.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

2 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

2.1 parse-js/src

Parent

parse-js (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 parse-js.asd

Location

parse-js.asd

Systems

parse-js (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 parse-js/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

parse-js


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 parse-js/src/util.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/util.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 parse-js/src/tokenize.lisp

Dependency

util.lisp (file)

Parent

src (module)

Location

src/tokenize.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.5 parse-js/src/parse.lisp

Dependency

tokenize.lisp (file)

Parent

src (module)

Location

src/parse.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 parse-js

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *check-for-reserved-words*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *ecma-version*
Package

parse-js

Source

tokenize.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Functions

Function: js-parse-error CONTROL &rest ARGS
Package

parse-js

Source

tokenize.lisp (file)

Function: lex-js STREAM &key INCLUDE-COMMENTS
Package

parse-js

Source

tokenize.lisp (file)

Function: parse-js INPUT &key STRICT-SEMICOLONS ECMA-VERSION RESERVED-WORDS
Package

parse-js

Source

parse.lisp (file)

Function: parse-js-string &rest ARGS
Package

parse-js

Source

parse.lisp (file)

Function: read-js-number STREAM &key JUNK-ALLOWED
Package

parse-js

Source

tokenize.lisp (file)

Function: token-char INSTANCE
Function: (setf token-char) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-comments-before INSTANCE
Function: (setf token-comments-before) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-line INSTANCE
Function: (setf token-line) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-newline-before INSTANCE
Function: (setf token-newline-before) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-pos INSTANCE
Function: (setf token-pos) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-type INSTANCE
Function: (setf token-type) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: token-value INSTANCE
Function: (setf token-value) VALUE INSTANCE
Package

parse-js

Source

tokenize.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Generic functions

Generic Function: js-parse-error-char CONDITION
Package

parse-js

Methods
Method: js-parse-error-char (CONDITION js-parse-error)
Source

tokenize.lisp (file)

Generic Function: js-parse-error-line CONDITION
Package

parse-js

Methods
Method: js-parse-error-line (CONDITION js-parse-error)
Source

tokenize.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Conditions

Condition: js-parse-error ()
Package

parse-js

Source

tokenize.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods
Direct slots
Slot: line
Initform

(quote parse-js::*line*)

Readers

js-parse-error-line (generic function)

Slot: char
Initform

(quote parse-js::*char*)

Readers

js-parse-error-char (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *assignment*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *atom-keywords*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *char*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *in-function*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *keywords*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *keywords-before-expression*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *label-scope*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *line*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *line-terminators*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *operator-chars*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *operators*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *position*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *precedence*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *reserved-words-ecma-3*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *reserved-words-ecma-5*
Package

parse-js

Source

tokenize.lisp (file)

Special Variable: *unary-postfix*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *unary-prefix*
Package

parse-js

Source

parse.lisp (file)

Special Variable: *whitespace-chars*
Package

parse-js

Source

tokenize.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: defun/defs NAME ARGS &body BODY
Package

parse-js

Source

util.lisp (file)

Macro: with-defs &body BODY
Package

parse-js

Source

util.lisp (file)

Macro: with-label-scope TYPE LABEL &body BODY
Package

parse-js

Source

parse.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: copy-token INSTANCE
Package

parse-js

Source

tokenize.lisp (file)

Function: make-token &key (TYPE TYPE) (VALUE VALUE) (LINE LINE) (CHAR CHAR) (POS POS) (NEWLINE-BEFORE NEWLINE-BEFORE) (COMMENTS-BEFORE COMMENTS-BEFORE)
Package

parse-js

Source

tokenize.lisp (file)

Function: parse-js* STREAM &optional STRICT-SEMICOLONS
Package

parse-js

Source

parse.lisp (file)

Function: read-js-number-1 PEEK NEXT &key JUNK-ALLOWED
Package

parse-js

Source

tokenize.lisp (file)

Function: token-id TOKEN
Package

parse-js

Source

tokenize.lisp (file)

Function: token-p OBJECT
Package

parse-js

Source

tokenize.lisp (file)

Function: token-type-p TOKEN TYPE
Package

parse-js

Source

tokenize.lisp (file)

Function: tokenp TOKEN TYPE VALUE
Package

parse-js

Source

tokenize.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Structures

Structure: token ()
Package

parse-js

Source

tokenize.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: type
Readers

token-type (function)

Writers

(setf token-type) (function)

Slot: value
Readers

token-value (function)

Writers

(setf token-value) (function)

Slot: line
Readers

token-line (function)

Writers

(setf token-line) (function)

Slot: char
Readers

token-char (function)

Writers

(setf token-char) (function)

Slot: pos
Readers

token-pos (function)

Writers

(setf token-pos) (function)

Slot: newline-before
Readers

token-newline-before (function)

Writers

(setf token-newline-before) (function)

Slot: comments-before
Readers

token-comments-before (function)

Writers

(setf token-comments-before) (function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   P  
Index Entry  Section

F
File, Lisp, parse-js.asd: The parse-js<dot>asd file
File, Lisp, parse-js/src/package.lisp: The parse-js/src/package<dot>lisp file
File, Lisp, parse-js/src/parse.lisp: The parse-js/src/parse<dot>lisp file
File, Lisp, parse-js/src/tokenize.lisp: The parse-js/src/tokenize<dot>lisp file
File, Lisp, parse-js/src/util.lisp: The parse-js/src/util<dot>lisp file

L
Lisp File, parse-js.asd: The parse-js<dot>asd file
Lisp File, parse-js/src/package.lisp: The parse-js/src/package<dot>lisp file
Lisp File, parse-js/src/parse.lisp: The parse-js/src/parse<dot>lisp file
Lisp File, parse-js/src/tokenize.lisp: The parse-js/src/tokenize<dot>lisp file
Lisp File, parse-js/src/util.lisp: The parse-js/src/util<dot>lisp file

M
Module, parse-js/src: The parse-js/src module

P
parse-js.asd: The parse-js<dot>asd file
parse-js/src: The parse-js/src module
parse-js/src/package.lisp: The parse-js/src/package<dot>lisp file
parse-js/src/parse.lisp: The parse-js/src/parse<dot>lisp file
parse-js/src/tokenize.lisp: The parse-js/src/tokenize<dot>lisp file
parse-js/src/util.lisp: The parse-js/src/util<dot>lisp file

Jump to:   F   L   M   P  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
C   D   F   G   J   L   M   P   R   T   W  
Index Entry  Section

(
(setf token-char): Exported functions
(setf token-comments-before): Exported functions
(setf token-line): Exported functions
(setf token-newline-before): Exported functions
(setf token-pos): Exported functions
(setf token-type): Exported functions
(setf token-value): Exported functions

C
copy-token: Internal functions

D
defun/defs: Internal macros

F
Function, (setf token-char): Exported functions
Function, (setf token-comments-before): Exported functions
Function, (setf token-line): Exported functions
Function, (setf token-newline-before): Exported functions
Function, (setf token-pos): Exported functions
Function, (setf token-type): Exported functions
Function, (setf token-value): Exported functions
Function, copy-token: Internal functions
Function, js-parse-error: Exported functions
Function, lex-js: Exported functions
Function, make-token: Internal functions
Function, parse-js: Exported functions
Function, parse-js*: Internal functions
Function, parse-js-string: Exported functions
Function, read-js-number: Exported functions
Function, read-js-number-1: Internal functions
Function, token-char: Exported functions
Function, token-comments-before: Exported functions
Function, token-id: Internal functions
Function, token-line: Exported functions
Function, token-newline-before: Exported functions
Function, token-p: Internal functions
Function, token-pos: Exported functions
Function, token-type: Exported functions
Function, token-type-p: Internal functions
Function, token-value: Exported functions
Function, tokenp: Internal functions

G
Generic Function, js-parse-error-char: Exported generic functions
Generic Function, js-parse-error-line: Exported generic functions

J
js-parse-error: Exported functions
js-parse-error-char: Exported generic functions
js-parse-error-char: Exported generic functions
js-parse-error-line: Exported generic functions
js-parse-error-line: Exported generic functions

L
lex-js: Exported functions

M
Macro, defun/defs: Internal macros
Macro, with-defs: Internal macros
Macro, with-label-scope: Internal macros
make-token: Internal functions
Method, js-parse-error-char: Exported generic functions
Method, js-parse-error-line: Exported generic functions

P
parse-js: Exported functions
parse-js*: Internal functions
parse-js-string: Exported functions

R
read-js-number: Exported functions
read-js-number-1: Internal functions

T
token-char: Exported functions
token-comments-before: Exported functions
token-id: Internal functions
token-line: Exported functions
token-newline-before: Exported functions
token-p: Internal functions
token-pos: Exported functions
token-type: Exported functions
token-type-p: Internal functions
token-value: Exported functions
tokenp: Internal functions

W
with-defs: Internal macros
with-label-scope: Internal macros

Jump to:   (  
C   D   F   G   J   L   M   P   R   T   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   L   N   P   S   T   V  
Index Entry  Section

*
*assignment*: Internal special variables
*atom-keywords*: Internal special variables
*char*: Internal special variables
*check-for-reserved-words*: Exported special variables
*ecma-version*: Exported special variables
*in-function*: Internal special variables
*keywords*: Internal special variables
*keywords-before-expression*: Internal special variables
*label-scope*: Internal special variables
*line*: Internal special variables
*line-terminators*: Internal special variables
*operator-chars*: Internal special variables
*operators*: Internal special variables
*position*: Internal special variables
*precedence*: Internal special variables
*reserved-words-ecma-3*: Internal special variables
*reserved-words-ecma-5*: Internal special variables
*unary-postfix*: Internal special variables
*unary-prefix*: Internal special variables
*whitespace-chars*: Internal special variables

C
char: Exported conditions
char: Internal structures
comments-before: Internal structures

L
line: Exported conditions
line: Internal structures

N
newline-before: Internal structures

P
pos: Internal structures

S
Slot, char: Exported conditions
Slot, char: Internal structures
Slot, comments-before: Internal structures
Slot, line: Exported conditions
Slot, line: Internal structures
Slot, newline-before: Internal structures
Slot, pos: Internal structures
Slot, type: Internal structures
Slot, value: Internal structures
Special Variable, *assignment*: Internal special variables
Special Variable, *atom-keywords*: Internal special variables
Special Variable, *char*: Internal special variables
Special Variable, *check-for-reserved-words*: Exported special variables
Special Variable, *ecma-version*: Exported special variables
Special Variable, *in-function*: Internal special variables
Special Variable, *keywords*: Internal special variables
Special Variable, *keywords-before-expression*: Internal special variables
Special Variable, *label-scope*: Internal special variables
Special Variable, *line*: Internal special variables
Special Variable, *line-terminators*: Internal special variables
Special Variable, *operator-chars*: Internal special variables
Special Variable, *operators*: Internal special variables
Special Variable, *position*: Internal special variables
Special Variable, *precedence*: Internal special variables
Special Variable, *reserved-words-ecma-3*: Internal special variables
Special Variable, *reserved-words-ecma-5*: Internal special variables
Special Variable, *unary-postfix*: Internal special variables
Special Variable, *unary-prefix*: Internal special variables
Special Variable, *whitespace-chars*: Internal special variables

T
type: Internal structures

V
value: Internal structures

Jump to:   *  
C   L   N   P   S   T   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   J   P   S   T  
Index Entry  Section

C
Condition, js-parse-error: Exported conditions

J
js-parse-error: Exported conditions

P
Package, parse-js: The parse-js package
parse-js: The parse-js system
parse-js: The parse-js package

S
Structure, token: Internal structures
System, parse-js: The parse-js system

T
token: Internal structures

Jump to:   C   J   P   S   T