Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(904)

Side by Side Diff: packages/petitparser/lib/src/lisp/name.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 part of petitparser.lisp;
2
3 /// An unique symbolic name.
4 class Name {
5
6 /// The interned symbols.
7 static final Map<String, Name> _interned = new HashMap();
8
9 /// Factory for new symbol cells.
10 factory Name(String name) {
11 return _interned.putIfAbsent(name, () => new Name._internal(name));
12 }
13
14 /// The name of the symbol.
15 final String _name;
16
17 /// Internal constructor for symbol.
18 Name._internal(this._name);
19
20 /// Returns the string representation of the symbolic name.
21 String toString() => _name;
22 }
OLDNEW
« no previous file with comments | « packages/petitparser/lib/src/lisp/grammar.dart ('k') | packages/petitparser/lib/src/lisp/natives.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698