summaryrefslogtreecommitdiff
path: root/cpp.sig
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-05-12 01:51:27 +0200
committerVladimir Azarov <avm@intermediate-node.net>2025-05-12 01:51:27 +0200
commit52a6f8656e8a600a2c59fa2802fb46fafb30de45 (patch)
tree72511efdccc742709f40e52ca73b708a0c74c1c6 /cpp.sig
parente99a8dc48ede26696be2ba75a8cb0d5122d94598 (diff)
Object-like macros
Diffstat (limited to 'cpp.sig')
-rw-r--r--cpp.sig30
1 files changed, 0 insertions, 30 deletions
diff --git a/cpp.sig b/cpp.sig
deleted file mode 100644
index e842e13..0000000
--- a/cpp.sig
+++ /dev/null
@@ -1,30 +0,0 @@
-signature CPP = sig
- structure T: TOKENIZER
-
- type t
- type tkPos
-
- type tkExpectedVal
- exception TkExpected of tkExpectedVal
-
- type tkErrorVal
- exception TkError of tkErrorVal
-
- datatype tkExp =
- Tk of T.token |
- Id |
- NumConst |
- StrLiteral |
- UnOp |
- BinOp |
- Op
-
- val create: string -> string list -> t
- val getToken: t -> T.token * t
- val getLastPos: t -> tkPos
-
- val tkExpectedPrint: tkExpectedVal -> unit
- val tkErrorPrint: tkErrorVal -> unit
-
- val debugPrint: t -> unit
-end