Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 4114 Bytes
1 | <?xml version="1.0" encoding="iso-8859-1"?> |
2 | <!DOCTYPE html |
3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
5 | <html> |
6 | <head> |
7 | <title>Class: Syntax::Token</title> |
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
9 | <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> |
10 | |
11 | <script language="JavaScript" type="text/javascript"> |
12 | // <![CDATA[ |
13 | |
14 | function toggleSource( id ) |
15 | { |
16 | var elem |
17 | var link |
18 | |
19 | if( document.getElementById ) |
20 | { |
21 | elem = document.getElementById( id ) |
22 | link = document.getElementById( "l_" + id ) |
23 | } |
24 | else if ( document.all ) |
25 | { |
26 | elem = eval( "document.all." + id ) |
27 | link = eval( "document.all.l_" + id ) |
28 | } |
29 | else |
30 | return false; |
31 | |
32 | if( elem.style.display == "block" ) |
33 | { |
34 | elem.style.display = "none" |
35 | link.innerHTML = "show source" |
36 | } |
37 | else |
38 | { |
39 | elem.style.display = "block" |
40 | link.innerHTML = "hide source" |
41 | } |
42 | } |
43 | |
44 | function openCode( url ) |
45 | { |
46 | window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) |
47 | } |
48 | // ]]> |
49 | </script> |
50 | </head> |
51 | |
52 | <body> |
53 | <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> |
54 | <td class="file-title"><span class="file-title-prefix">Class</span><br />Syntax::Token</td> |
55 | <td align="right"> |
56 | <table cellspacing=0 cellpadding=2> |
57 | <tr valign="top"> |
58 | <td>In:</td> |
59 | <td> |
60 | <a href="../../files/lib/syntax/common_rb.html">lib/syntax/common.rb</a> |
61 | </td> |
62 | </tr> |
63 | <tr> |
64 | <td>Parent:</td> |
65 | <td> |
66 | String |
67 | </td> |
68 | </tr> |
69 | </table> |
70 | </td> |
71 | </tr> |
72 | </table> |
73 | <!-- banner header --> |
74 | |
75 | <div id="bodyContent"> |
76 | <div id="content"> |
77 | |
78 | <div class="description"><p> |
79 | A single token extracted by a tokenizer. It is simply the lexeme itself, |
80 | decorated with a ‘group’ attribute to identify the type of the |
81 | lexeme. |
82 | </p> |
83 | </div> |
84 | |
85 | |
86 | |
87 | <div class="sectiontitle">Methods</div> |
88 | <ul> |
89 | <li><a href="#M000020">new</a></li> |
90 | </ul> |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | <div class="sectiontitle">Attributes</div> |
97 | <table border='0' cellpadding='5'> |
98 | <tr valign='top'> |
99 | <td class='attr-rw'> |
100 | [R] |
101 | </td> |
102 | <td class='attr-name'>group</td> |
103 | <td class='attr-desc'> |
104 | the type of the lexeme that was extracted. |
105 | |
106 | </td> |
107 | </tr> |
108 | <tr valign='top'> |
109 | <td class='attr-rw'> |
110 | [R] |
111 | </td> |
112 | <td class='attr-name'>instruction</td> |
113 | <td class='attr-desc'> |
114 | the instruction associated with this token (:none, :region_open, or |
115 | :region_close) |
116 | |
117 | </td> |
118 | </tr> |
119 | </table> |
120 | |
121 | <div class="sectiontitle">Public Class methods</div> |
122 | <div class="method"> |
123 | <div class="title"> |
124 | <a name="M000020"></a><b>new</b>( text, group, instruction = :none ) |
125 | </div> |
126 | <div class="description"> |
127 | <p> |
128 | Create a new <a href="Token.html">Token</a> representing the given text, |
129 | and belonging to the given group. |
130 | </p> |
131 | </div> |
132 | <div class="sourcecode"> |
133 | <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> |
134 | <div id="M000020_source" class="dyn-source"> |
135 | <pre> |
136 | <span class="ruby-comment cmt"># File lib/syntax/common.rb, line 19</span> |
137 | 19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">text</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">instruction</span> = <span class="ruby-identifier">:none</span> ) |
138 | 20: <span class="ruby-keyword kw">super</span> <span class="ruby-identifier">text</span> |
139 | 21: <span class="ruby-ivar">@group</span> = <span class="ruby-identifier">group</span> |
140 | 22: <span class="ruby-ivar">@instruction</span> = <span class="ruby-identifier">instruction</span> |
141 | 23: <span class="ruby-keyword kw">end</span> |
142 | </pre> |
143 | </div> |
144 | </div> |
145 | </div> |
146 | </div> |
147 | |
148 | </div> |
149 | |
150 | </body> |
151 | </html> |