File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 11* .d
22* .vo
3+ * .vio
34* .glob
45
56TAGS
Original file line number Diff line number Diff line change 11opam-version: "2.0"
22name: "coq-jsast"
3- version: "2 .0.0"
3+ version: "3 .0.0"
44synopsis: "A minimal JavaScript syntax tree carved out of the JsCert project"
55description: """
66A minimal JavaScript syntax tree carved out of the JsCert project, with additional support for let bindings and using native floats.
Original file line number Diff line number Diff line change 11Set Implicit Arguments .
22Require Export Ascii String.
33Require JsNumber.
4+ Require Import ZArith.
45Notation "'number'" := (JsNumber.number).
56
67
@@ -63,7 +64,8 @@ Inductive literal :=
6364 | literal_null : literal
6465 | literal_bool : bool -> literal
6566 | literal_number : number -> literal
66- | literal_string : string -> literal.
67+ | literal_string : string -> literal
68+ | literal_bigint : Z -> literal.
6769
6870(** Labels literals used by break and continue keywords,
6971 including the special "empty" label. *)
@@ -187,3 +189,12 @@ Coercion stat_expr : expr >-> stat.
187189Coercion label_string : string >-> label.
188190
189191
192+ Inductive topdecl :=
193+ | strictmode : topdecl (** strict mode declaration *)
194+ | comment : string -> topdecl (** comment *)
195+ | elementdecl : element -> topdecl (** Program element *)
196+ | classdecl : string -> list funcdecl -> topdecl (** Class declarations *)
197+ | constdecl : string -> expr -> topdecl (** Constant declarations *)
198+ .
199+
200+ Definition module := list topdecl.
You can’t perform that action at this time.
0 commit comments