projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checking in stuff
[IRC.git]
/
Robust
/
JavaGrammar
/
Lex
/
NullLiteral.java
diff --git a/Robust/JavaGrammar/Lex/NullLiteral.java
b/Robust/JavaGrammar/Lex/NullLiteral.java
new file mode 100644
(file)
index 0000000..
2109bba
--- /dev/null
+++ b/
Robust/JavaGrammar/Lex/NullLiteral.java
@@ -0,0
+1,11
@@
+package Lex;
+
+import java_cup.runtime.Symbol;
+
+class NullLiteral extends Literal {
+ NullLiteral() { }
+
+ Symbol token() { return new Symbol(Sym.NULL_LITERAL); }
+
+ public String toString() { return "NullLiteral <null>"; }
+}