Index: packages/petitparser/lib/src/lisp/name.dart |
diff --git a/petitparser/lib/src/lisp/name.dart b/packages/petitparser/lib/src/lisp/name.dart |
similarity index 50% |
rename from petitparser/lib/src/lisp/name.dart |
rename to packages/petitparser/lib/src/lisp/name.dart |
index c3046ab3cea71bd3bbcf3b665e82c5ff3fd22d2d..d07482aeb9aa4b035d78b4bc4196ac9bcaba3caf 100644 |
--- a/petitparser/lib/src/lisp/name.dart |
+++ b/packages/petitparser/lib/src/lisp/name.dart |
@@ -1,24 +1,22 @@ |
-part of lisp; |
+part of petitparser.lisp; |
-/** |
- * An unique symbolic name. |
- */ |
+/// An unique symbolic name. |
class Name { |
- /** The interned symbols. */ |
+ /// The interned symbols. |
static final Map<String, Name> _interned = new HashMap(); |
- /** Factory for new symbol cells. */ |
+ /// Factory for new symbol cells. |
factory Name(String name) { |
return _interned.putIfAbsent(name, () => new Name._internal(name)); |
} |
- /** The name of the symbol. */ |
+ /// The name of the symbol. |
final String _name; |
- /** Internal constructor for symbol. */ |
+ /// Internal constructor for symbol. |
Name._internal(this._name); |
- /** Returns the string representation of the symbolic name. */ |
+ /// Returns the string representation of the symbolic name. |
String toString() => _name; |
} |