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

Unified Diff: docs/language/dart.sty

Issue 26567004: Allow distinction in typesetting between built-in identifierss and true keywords. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/language/dart.sty
===================================================================
--- docs/language/dart.sty (revision 28332)
+++ docs/language/dart.sty (working copy)
@@ -1,4 +1,5 @@
\def\keyword#1{\textbf{#1}}
+\def\builtinId#1{\textbf{#1}}
\def\comment#1{\textit{#1}}
\def\capt#1{\rmfamily \caption{#1}}
\newcommand{\cd}[1]{\textsf{#1}}
@@ -7,8 +8,8 @@
\def\<{$\langle$}
\def\>{$\rangle$}
- \def\ABSTRACT{\keyword{abstract}}
- \def\AS{\keyword{as}}
+ \def\ABSTRACT{\builtinId{abstract}}
+ \def\AS{\builtinId{as}}
\def\ASSERT{\keyword{assert}}
\def\BOOLEAN{\keyword{boolean}}
\def\BREAK{\keyword{break}}
@@ -19,51 +20,51 @@
\def\CONST{\keyword{const}}
\def\CONTINUE{\keyword{continue}}
\def\DEFAULT{\keyword{default}}
- \def\DYNAMIC{\keyword{dynamic}}
+ \def\DYNAMIC{\builtinId{dynamic}}
\def\DO{\keyword{do}}
\def\ELSE{\keyword{else}}
\def\ENUM{\keyword{enum}}
\def\EQUALS{\keyword{equals}}
- \def\EXPORT{\keyword{export}}
+ \def\EXPORT{\builtinId{export}}
\def\EXTENDS{\keyword{extends}}
- \def\EXTERNAL{\keyword{external}}
- \def\FACTORY{\keyword{factory}}
+ \def\EXTERNAL{\builtinId{external}}
+ \def\FACTORY{\builtinId{factory}}
\def\FALSE{\keyword{false}}
\def\FINAL{\keyword{final}}
\def\FINALLY{\keyword{finally}}
\def\FOR{\keyword{for}}
- \def\GET{\keyword{get}}
+ \def\GET{\builtinId{get}}
\def\HIDE{\keyword{hide}}
\def\IF{\keyword{if}}
- \def\IMPLEMENTS{\keyword{implements}}
- \def\IMPORT{\keyword{import}}
+ \def\IMPLEMENTS{\builtinId{implements}}
+ \def\IMPORT{\builtinId{import}}
\def\IN{\keyword{in}}
\def\INT{\keyword{int}}
\def\INTERFACE{\keyword{interface}}
\def\IS{\keyword{is}}
- \def\LIBRARY{\keyword{library}}
+ \def\LIBRARY{\builtinId{library}}
\def\NATIVE{\keyword{native}}
\def\NEGATE{\keyword{negate}}
\def\NEW{\keyword{new}}
\def\NULL{\keyword{null}}
\def\ON{\keyword{on}}
\def\OF{\keyword{of}}
- \def\OPERATOR{\keyword{operator}}
- \def\PART{\keyword{part}}
+ \def\OPERATOR{\builtinId{operator}}
+ \def\PART{\builtinId{part}}
\def\PRIVATE{\keyword{private}}
\def\RETHROW{\keyword{rethrow}}
\def\RETURN{\keyword{return}}
- \def\SET{\keyword{set}}
+ \def\SET{\builtinId{set}}
\def\SHOW{\keyword{show}}
\def\SOURCE{\keyword{source}}
- \def\STATIC{\keyword{static}}
+ \def\STATIC{\builtinId{static}}
\def\SUPER{\keyword{super}}
\def\SWITCH{\keyword{switch}}
\def\THIS{\keyword{this}}
\def\THROW{\keyword{throw}}
\def\TRUE{\keyword{true}}
\def\TRY{\keyword{try}}
- \def\TYPEDEF{\keyword{typedef}}
+ \def\TYPEDEF{\builtinId{typedef}}
\def\THIS{\keyword{this}}
\def\VAR{\keyword{var}}
\def\VOID{\keyword{void}}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698