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

Unified Diff: docs/language/dart.sty

Issue 26340005: - Add the language specification to the repository. (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 | docs/language/dartLangSpec.tex » ('j') | 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 0)
+++ docs/language/dart.sty (revision 0)
@@ -0,0 +1,109 @@
+\def\keyword#1{\textbf{#1}}
+\def\comment#1{\textit{#1}}
+\def\capt#1{\rmfamily \caption{#1}}
+\newcommand{\cd}[1]{\textsf{#1}}
+\def\lt{$<$}
+\def\gt{$>$}
+\def\<{$\langle$}
+\def\>{$\rangle$}
+
+ \def\ABSTRACT{\keyword{abstract}}
+ \def\AS{\keyword{as}}
+ \def\ASSERT{\keyword{assert}}
+ \def\BOOLEAN{\keyword{boolean}}
+ \def\BREAK{\keyword{break}}
+ \def\CASE{\keyword{case}}
+ \def\CLASS{\keyword{class}}
+ \def\CALL{\keyword{call}}
+ \def\CATCH{\keyword{catch}}
+ \def\CONST{\keyword{const}}
+ \def\CONTINUE{\keyword{continue}}
+ \def\DEFAULT{\keyword{default}}
+ \def\DYNAMIC{\keyword{dynamic}}
+ \def\DO{\keyword{do}}
+ \def\ELSE{\keyword{else}}
+ \def\ENUM{\keyword{enum}}
+ \def\EQUALS{\keyword{equals}}
+ \def\EXPORT{\keyword{export}}
+ \def\EXTENDS{\keyword{extends}}
+ \def\EXTERNAL{\keyword{external}}
+ \def\FACTORY{\keyword{factory}}
+ \def\FALSE{\keyword{false}}
+ \def\FINAL{\keyword{final}}
+ \def\FINALLY{\keyword{finally}}
+ \def\FOR{\keyword{for}}
+ \def\GET{\keyword{get}}
+ \def\HIDE{\keyword{hide}}
+ \def\IF{\keyword{if}}
+ \def\IMPLEMENTS{\keyword{implements}}
+ \def\IMPORT{\keyword{import}}
+ \def\IN{\keyword{in}}
+ \def\INT{\keyword{int}}
+ \def\INTERFACE{\keyword{interface}}
+ \def\IS{\keyword{is}}
+ \def\LIBRARY{\keyword{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\PRIVATE{\keyword{private}}
+ \def\RETHROW{\keyword{rethrow}}
+ \def\RETURN{\keyword{return}}
+ \def\SET{\keyword{set}}
+ \def\SHOW{\keyword{show}}
+ \def\SOURCE{\keyword{source}}
+ \def\STATIC{\keyword{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\THIS{\keyword{this}}
+ \def\VAR{\keyword{var}}
+ \def\VOID{\keyword{void}}
+ \def\WHILE{\keyword{while}}
+ \def\WITH{\keyword{with}}
+
+
+
+
+ % \def\PUBLIC{\keyword{public}}
+
+ %\def\PROTECTED{\keyword{protected}}
+
+
+
+
+
+
+
+
+
+
+ % \def\OUTER{\keyword{outer}}
+
+ \def\TRUE{\keyword{true}}
+
+
+\newenvironment{Q}[1]{{\bf #1}}
+
+\newenvironment{rationale}[1]{{\it #1}}
+
+\newenvironment{commentary}[1]{{\sf #1}}
+
+\newenvironment{dartCode}[1][!ht] {
+% \begin{verbatim}[#1]
+ \def\@programcr{\@addfield\strut}
+ \let\\=\@programcr
+ \relax\@vobeyspaces\obeylines
+
+ \sffamily
+}{
+ %\end{verbatim}
+}
« no previous file with comments | « no previous file | docs/language/dartLangSpec.tex » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698