Propchange: 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVFormat.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVFormat.html
------------------------------------------------------------------------------
    svn:keywords = Id

Added: 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVLexer.html
==============================================================================
--- 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVLexer.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVLexer.html
 Thu Mar 21 15:20:15 2013
@@ -0,0 +1,433 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+<title>Coverage Report</title>
+<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/>
+<script type="text/javascript" src="js/popup.js"></script>
+</head>
+<body>
+<h5>Coverage Report - org.apache.commons.csv.CSVLexer</h5>
+<div class="separator">&nbsp;</div>
+<table class="report">
+<thead><tr>  <td class="heading">Classes in this File</td>  <td 
class="heading"><a class="dfn" href="help.html" 
onclick="popupwindow('help.html'); return false;">Line Coverage</a></td>  <td 
class="heading"><a class="dfn" href="help.html" 
onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td>  <td 
class="heading"><a class="dfn" href="help.html" 
onclick="popupwindow('help.html'); return 
false;">Complexity</a></td></tr></thead>
+  <tr><td><a 
href="org.apache.commons.csv.CSVLexer.html">CSVLexer</a></td><td><table 
cellpadding="0px" cellspacing="0px" class="percentgraph"><tr 
class="percentgraph"><td align="right" class="percentgraph" 
width="40">97%</td><td class="percentgraph"><div class="percentgraph"><div 
class="greenbar" style="width:97px"><span 
class="text">77/79</span></div></div></td></tr></table></td><td><table 
cellpadding="0px" cellspacing="0px" class="percentgraph"><tr 
class="percentgraph"><td align="right" class="percentgraph" 
width="40">96%</td><td class="percentgraph"><div class="percentgraph"><div 
class="greenbar" style="width:96px"><span 
class="text">58/60</span></div></div></td></tr></table></td><td 
class="value"><span class="hidden">11.25;</span>11.25</td></tr>
+
+</table>
+<div class="separator">&nbsp;</div>
+<table cellspacing="0" cellpadding="0" class="src">
+<tr>  <td class="numLine">&nbsp;1</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span 
class="comment">/*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;2</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * Licensed to 
the Apache Software Foundation (ASF) under one or more</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;3</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * contributor 
license agreements.  See the NOTICE file distributed with</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;4</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * this work 
for additional information regarding copyright ownership.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;5</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * The ASF 
licenses this file to You under the Apache License, Version 
2.0</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;6</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * (the 
"License"); you may not use this file except in compliance 
with</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;7</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * the License. 
 You may obtain a copy of the License at</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;8</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;9</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> *      
http://www.apache.org/licenses/LICENSE-2.0</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;10</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;11</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * Unless 
required by applicable law or agreed to in writing, 
software</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;12</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * distributed 
under the License is distributed on an "AS IS" BASIS,</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;13</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * WITHOUT 
WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;14</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * See the 
License for the specific language governing permissions 
and</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;15</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * limitations 
under the License.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;16</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*/</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;17</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;18</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">package</span> 
org.apache.commons.csv;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;19</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;20</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
<span class="keyword">static</span> 
org.apache.commons.csv.Token.Type.COMMENT;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;21</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
<span class="keyword">static</span> 
org.apache.commons.csv.Token.Type.EOF;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;22</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
<span class="keyword">static</span> 
org.apache.commons.csv.Token.Type.EORECORD;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;23</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
<span class="keyword">static</span> 
org.apache.commons.csv.Token.Type.INVALID;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;24</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
<span class="keyword">static</span> 
org.apache.commons.csv.Token.Type.TOKEN;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;25</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;26</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">import</span> 
java.io.IOException;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;27</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;28</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span 
class="comment">/**</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;29</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;30</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;31</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> * @version 
$Id$</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;32</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment"> 
*/</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;33</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="keyword">final</span> 
<span class="keyword">class</span> CSVLexer <span 
class="keyword">extends</span> Lexer {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;34</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;35</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span class="comment">/** 
INTERNAL API. ctor needs to be public so can be called dynamically by 
PerformanceTest class */</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;36</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="keyword">public</span> CSVLexer(<span class="keyword">final</span> 
CSVFormat format, <span class="keyword">final</span> ExtendedBufferedReader in) 
{</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;37</td>  <td 
class="nbHitsCovered">&nbsp;30068</td>  <td class="src"><pre class="src">&nbsp; 
       <span class="keyword">super</span>(format, in);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;38</td>  <td 
class="nbHitsCovered">&nbsp;30068</td>  <td class="src"><pre class="src">&nbsp; 
   }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;39</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;40</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="comment">/**</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;41</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * Returns 
the next token.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;42</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;p/&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;43</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * A token 
corresponds to a term, a record change or an end-of-file 
indicator.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;44</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;45</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @param 
token</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;46</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
  an existing Token object to reuse. The caller is responsible to initialize 
the Token.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;47</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @return 
the next token found</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;48</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @throws 
java.io.IOException</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;49</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
   on stream access error</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;50</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*/</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;51</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    @Override</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;52</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    Token nextToken(<span 
class="keyword">final</span> Token token) <span class="keyword">throws</span> 
IOException {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;53</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;54</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// get 
the last read char (required for empty line detection)</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;55</td>  <td 
class="nbHitsCovered">&nbsp;180561</td>  <td class="src"><pre 
class="src">&nbsp;        <span class="keyword">int</span> lastChar = 
in.getLastChar();</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;56</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;57</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// read 
the next char and set eol</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;58</td>  <td 
class="nbHitsCovered">&nbsp;180561</td>  <td class="src"><pre 
class="src">&nbsp;        <span class="keyword">int</span> c = 
in.read();</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;59</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span 
class="comment">/*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;60</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">         * 
Note: The following call will swallow LF if c == CR. But we don't need to know 
if the last char was CR or LF</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;61</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">         * - 
they are equivalent here.</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;62</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">         
*/</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;63</td>  <td 
class="nbHitsCovered">&nbsp;180561</td>  <td class="src"><pre 
class="src">&nbsp;        <span class="keyword">boolean</span> eol = 
readEndOfLine(c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;64</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;65</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// 
empty line detection: eol AND (last char was EOL or 
beginning)</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;66</td>  <td class="nbHitsCovered"><a 
title="Line 66: Conditional coverage 100% (2/2).">&nbsp;180561</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 66: Conditional coverage 100% 
(2/2).">        <span class="keyword">if</span> (ignoreEmptyLines) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsCovered"><a 
title="Line 67: Conditional coverage 100% (4/4) [each condition: 100%, 
100%].">&nbsp;59974</a></td>  <td class="src"><pre class="src">&nbsp;<a 
title="Line 67: Conditional coverage 100% (4/4) [each condition: 100%, 100%]."> 
           <span class="keyword">while</span> (eol &amp;&amp; 
isStartOfLine(lastChar)) {</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;68</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// go on char ahead ...</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;69</td>  <td 
class="nbHitsCovered">&nbsp;36</td>  <td class="src"><pre class="src">&nbsp;    
            lastChar = c;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;70</td>  <td 
class="nbHitsCovered">&nbsp;36</td>  <td class="src"><pre class="src">&nbsp;    
            c = in.read();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;71</td>  <td 
class="nbHitsCovered">&nbsp;36</td>  <td class="src"><pre class="src">&nbsp;    
            eol = readEndOfLine(c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;72</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// reached end of file without any content (empty line at the 
end)</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;73</td>  <td class="nbHitsCovered"><a 
title="Line 73: Conditional coverage 100% (2/2).">&nbsp;36</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 73: Conditional coverage 100% 
(2/2).">                <span class="keyword">if</span> (isEndOfFile(c)) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;74</td>  <td 
class="nbHitsCovered">&nbsp;5</td>  <td class="src"><pre class="src">&nbsp;     
               token.type = EOF;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;75</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                    <span 
class="comment">// don't set tkn.isReady here because no 
content</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;76</td>  <td 
class="nbHitsCovered">&nbsp;5</td>  <td class="src"><pre class="src">&nbsp;     
               <span class="keyword">return</span> token;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;77</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;78</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;79</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;80</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;81</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// did 
we reach eof during the last iteration already ? EOF</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;82</td>  <td class="nbHitsCovered"><a 
title="Line 82: Conditional coverage 100% (6/6) [each condition: 100%, 100%, 
100%].">&nbsp;180556</a></td>  <td class="src"><pre class="src">&nbsp;<a 
title="Line 82: Conditional coverage 100% (6/6) [each condition: 100%, 100%, 
100%].">        <span class="keyword">if</span> (isEndOfFile(lastChar) || 
(!isDelimiter(lastChar) &amp;&amp; isEndOfFile(c))) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;83</td>  <td 
class="nbHitsCovered">&nbsp;30058</td>  <td class="src"><pre class="src">&nbsp; 
           token.type = EOF;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;84</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            <span class="comment">// 
don't set tkn.isReady here because no content</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;85</td>  <td 
class="nbHitsCovered">&nbsp;30058</td>  <td class="src"><pre class="src">&nbsp; 
           <span class="keyword">return</span> token;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;86</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;87</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;88</td>  <td class="nbHitsCovered"><a 
title="Line 88: Conditional coverage 100% (4/4) [each condition: 100%, 
100%].">&nbsp;150498</a></td>  <td class="src"><pre class="src">&nbsp;<a 
title="Line 88: Conditional coverage 100% (4/4) [each condition: 100%, 100%]."> 
       <span class="keyword">if</span> (isStartOfLine(lastChar) &amp;&amp; 
isCommentStart(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;89</td>  <td 
class="nbHitsCovered">&nbsp;26</td>  <td class="src"><pre class="src">&nbsp;    
        <span class="keyword">final</span> String comment = 
in.readLine().trim();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;90</td>  <td 
class="nbHitsCovered">&nbsp;26</td>  <td class="src"><pre class="src">&nbsp;    
        token.content.append(comment);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;91</td>  <td 
class="nbHitsCovered">&nbsp;26</td>  <td class="src"><pre class="src">&nbsp;    
        token.type = COMMENT;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;92</td>  <td 
class="nbHitsCovered">&nbsp;26</td>  <td class="src"><pre class="src">&nbsp;    
        <span class="keyword">return</span> token;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;93</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;94</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;95</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// 
important: make sure a new char gets consumed in each 
iteration</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;96</td>  <td class="nbHitsCovered"><a 
title="Line 96: Conditional coverage 100% (2/2).">&nbsp;300943</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 96: Conditional coverage 100% 
(2/2).">        <span class="keyword">while</span> (token.type == INVALID) 
{</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;97</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            <span class="comment">// 
ignore whitespaces at beginning of a token</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;98</td>  <td class="nbHitsCovered"><a 
title="Line 98: Conditional coverage 100% (2/2).">&nbsp;150472</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 98: Conditional coverage 100% 
(2/2).">            <span class="keyword">if</span> (ignoreSurroundingSpaces) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;99</td>  <td class="nbHitsCovered"><a 
title="Line 99: Conditional coverage 100% (4/4) [each condition: 100%, 
100%].">&nbsp;120</a></td>  <td class="src"><pre class="src">&nbsp;<a 
title="Line 99: Conditional coverage 100% (4/4) [each condition: 100%, 100%]."> 
               <span class="keyword">while</span> (isWhitespace(c) &amp;&amp; 
!eol) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;100</td>  <td 
class="nbHitsCovered">&nbsp;32</td>  <td class="src"><pre class="src">&nbsp;    
                c = in.read();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;101</td>  <td 
class="nbHitsCovered">&nbsp;32</td>  <td class="src"><pre class="src">&nbsp;    
                eol = readEndOfLine(c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;102</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;103</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;104</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;105</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            <span class="comment">// 
ok, start of token reached: encapsulated, or token</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;106</td>  <td class="nbHitsCovered"><a 
title="Line 106: Conditional coverage 100% (2/2).">&nbsp;150472</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 106: Conditional coverage 
100% (2/2).">            <span class="keyword">if</span> (isDelimiter(c)) 
{</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;107</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// empty token return TOKEN("")</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;108</td>  <td 
class="nbHitsCovered">&nbsp;1781</td>  <td class="src"><pre class="src">&nbsp;  
              token.type = TOKEN;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;109</td>  <td class="nbHitsCovered"><a 
title="Line 109: Conditional coverage 100% (2/2).">&nbsp;148691</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 109: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (eol) {</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;110</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// empty token return EORECORD("")</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;111</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// noop: tkn.content.append("");</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;112</td>  <td 
class="nbHitsCovered">&nbsp;2488</td>  <td class="src"><pre class="src">&nbsp;  
              token.type = EORECORD;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;113</td>  <td class="nbHitsCovered"><a 
title="Line 113: Conditional coverage 100% (2/2).">&nbsp;146203</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 113: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isQuoteChar(c)) {</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;114</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// consume encapsulated token</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;115</td>  <td 
class="nbHitsCovered">&nbsp;92346</td>  <td class="src"><pre class="src">&nbsp; 
               encapsulatedTokenLexer(token);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;116</td>  <td class="nbHitsCovered"><a 
title="Line 116: Conditional coverage 100% (2/2).">&nbsp;53857</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 116: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isEndOfFile(c)) {</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;117</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// end of file return EOF()</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;118</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// noop: tkn.content.append("");</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;119</td>  <td 
class="nbHitsCovered">&nbsp;6</td>  <td class="src"><pre class="src">&nbsp;     
           token.type = EOF;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;120</td>  <td 
class="nbHitsCovered">&nbsp;6</td>  <td class="src"><pre class="src">&nbsp;     
           token.isReady = <span class="keyword">true</span>; <span 
class="comment">// there is data at EOF</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;121</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            } <span 
class="keyword">else</span> {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;122</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// next token must be a simple token</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;123</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// add removed blanks when not ignoring whitespace 
chars...</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;124</td>  <td 
class="nbHitsCovered">&nbsp;53851</td>  <td class="src"><pre class="src">&nbsp; 
               simpleTokenLexer(token, c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;125</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;126</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;127</td>  <td 
class="nbHitsCovered">&nbsp;150471</td>  <td class="src"><pre 
class="src">&nbsp;        <span class="keyword">return</span> 
token;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;128</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;129</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;130</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="comment">/**</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;131</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * A simple 
token lexer</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;132</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;p/&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;133</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * Simple 
token are tokens which are not surrounded by encapsulators. A simple token 
might contain escaped</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;134</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
delimiters (as \, or \;). The token is finished when one of the following 
conditions become true:</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;135</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;136</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;end of line has been reached 
(EORECORD)&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;137</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;end of stream has been reached (EOF)&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;138</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;an unescaped delimiter has been reached 
(TOKEN)&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;139</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;/ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;140</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;141</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @param 
tkn</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;142</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
  the current token</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;143</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @param 
c</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;144</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
  the current character</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;145</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @return 
the filled token</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;146</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @throws 
IOException</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;147</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
   on stream access error</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;148</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*/</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;149</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="keyword">private</span> Token simpleTokenLexer(<span 
class="keyword">final</span> Token tkn, <span class="keyword">int</span> c) 
<span class="keyword">throws</span> IOException {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;150</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// 
Faster to use while(true)+break than while(tkn.type == 
INVALID)</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;151</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span 
class="keyword">while</span> (<span class="keyword">true</span>) 
{</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;152</td>  <td class="nbHitsCovered"><a 
title="Line 152: Conditional coverage 100% (2/2).">&nbsp;597864</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 152: Conditional coverage 
100% (2/2).">            <span class="keyword">if</span> (readEndOfLine(c)) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;153</td>  <td 
class="nbHitsCovered">&nbsp;27254</td>  <td class="src"><pre class="src">&nbsp; 
               tkn.type = EORECORD;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;154</td>  <td 
class="nbHitsCovered">&nbsp;27254</td>  <td class="src"><pre class="src">&nbsp; 
               <span class="keyword">break</span>;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;155</td>  <td class="nbHitsCovered"><a 
title="Line 155: Conditional coverage 100% (2/2).">&nbsp;570610</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 155: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isEndOfFile(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;156</td>  <td 
class="nbHitsCovered">&nbsp;20</td>  <td class="src"><pre class="src">&nbsp;    
            tkn.type = EOF;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;157</td>  <td 
class="nbHitsCovered">&nbsp;20</td>  <td class="src"><pre class="src">&nbsp;    
            tkn.isReady = <span class="keyword">true</span>; <span 
class="comment">// There is data at EOF</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;158</td>  <td 
class="nbHitsCovered">&nbsp;20</td>  <td class="src"><pre class="src">&nbsp;    
            <span class="keyword">break</span>;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;159</td>  <td class="nbHitsCovered"><a 
title="Line 159: Conditional coverage 100% (2/2).">&nbsp;570590</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 159: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isDelimiter(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;160</td>  <td 
class="nbHitsCovered">&nbsp;26576</td>  <td class="src"><pre class="src">&nbsp; 
               tkn.type = TOKEN;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;161</td>  <td 
class="nbHitsCovered">&nbsp;26576</td>  <td class="src"><pre class="src">&nbsp; 
               <span class="keyword">break</span>;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;162</td>  <td class="nbHitsCovered"><a 
title="Line 162: Conditional coverage 100% (2/2).">&nbsp;544014</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 162: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isEscape(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;163</td>  <td 
class="nbHitsCovered">&nbsp;106721</td>  <td class="src"><pre 
class="src">&nbsp;                tkn.content.append((<span 
class="keyword">char</span>) readEscape());</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;164</td>  <td 
class="nbHitsCovered">&nbsp;106720</td>  <td class="src"><pre 
class="src">&nbsp;                c = in.read(); <span class="comment">// 
continue</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;165</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            } <span 
class="keyword">else</span> {</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;166</td>  <td 
class="nbHitsCovered">&nbsp;437293</td>  <td class="src"><pre 
class="src">&nbsp;                tkn.content.append((<span 
class="keyword">char</span>) c);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;167</td>  <td 
class="nbHitsCovered">&nbsp;437293</td>  <td class="src"><pre 
class="src">&nbsp;                c = in.read(); <span class="comment">// 
continue</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;168</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;169</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;170</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;171</td>  <td class="nbHitsCovered"><a 
title="Line 171: Conditional coverage 100% (2/2).">&nbsp;53850</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 171: Conditional coverage 
100% (2/2).">        <span class="keyword">if</span> (ignoreSurroundingSpaces) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;172</td>  <td 
class="nbHitsCovered">&nbsp;59</td>  <td class="src"><pre class="src">&nbsp;    
        trimTrailingSpaces(tkn.content);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;173</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;174</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;175</td>  <td 
class="nbHitsCovered">&nbsp;53850</td>  <td class="src"><pre class="src">&nbsp; 
       <span class="keyword">return</span> tkn;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;176</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;177</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;178</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="comment">/**</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;179</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * An 
encapsulated token lexer</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;180</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;p/&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;181</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
Encapsulated tokens are surrounded by the given encapsulating-string. The 
encapsulator itself might be included</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;182</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * in the 
token using a doubling syntax (as "", '') or using escaping (as in \", \'). 
Whitespaces before and after</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;183</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * an 
encapsulated token are ignored. The token is finished when one of the following 
conditions become true:</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;184</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;185</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;an unescaped encapsulator has been reached, and is followed by 
optional whitespace then:&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;186</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;187</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;delimiter (TOKEN)&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;188</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;end of line (EORECORD)&lt;/li&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;189</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;/ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;190</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * 
&lt;li&gt;end of stream has been reached (EOF)&lt;/li&gt; 
&lt;/ul&gt;</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;191</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;192</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @param 
tkn</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;193</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
  the current token</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;194</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @return 
a valid token object</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;195</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     * @throws 
IOException</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;196</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     *          
   on invalid state: EOF before closing encapsulator or invalid character 
before delimiter or EOL</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;197</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;<span class="comment">     
*/</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;198</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    <span 
class="keyword">private</span> Token encapsulatedTokenLexer(<span 
class="keyword">final</span> Token tkn) <span class="keyword">throws</span> 
IOException {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;199</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span class="comment">// save 
current line number in case needed for IOE</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;200</td>  <td 
class="nbHitsCovered">&nbsp;92346</td>  <td class="src"><pre class="src">&nbsp; 
       <span class="keyword">final</span> <span class="keyword">long</span> 
startLineNumber = getLineNumber();</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;201</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span 
class="keyword">int</span> c;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;202</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        <span 
class="keyword">while</span> (<span class="keyword">true</span>) 
{</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;203</td>  <td 
class="nbHitsCovered">&nbsp;1079626</td>  <td class="src"><pre 
class="src">&nbsp;            c = in.read();</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;204</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;205</td>  <td class="nbHitsCovered"><a 
title="Line 205: Conditional coverage 100% (2/2).">&nbsp;1079626</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 205: Conditional coverage 
100% (2/2).">            <span class="keyword">if</span> (isEscape(c)) 
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;206</td>  <td 
class="nbHitsCovered">&nbsp;4</td>  <td class="src"><pre class="src">&nbsp;     
           tkn.content.append((<span class="keyword">char</span>) 
readEscape());</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;207</td>  <td class="nbHitsCovered"><a 
title="Line 207: Conditional coverage 100% (2/2).">&nbsp;1079622</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 207: Conditional coverage 
100% (2/2).">            } <span class="keyword">else</span> <span 
class="keyword">if</span> (isQuoteChar(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;208</td>  <td class="nbHitsCovered"><a 
title="Line 208: Conditional coverage 100% (2/2).">&nbsp;145115</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 208: Conditional coverage 
100% (2/2).">                <span class="keyword">if</span> 
(isQuoteChar(in.lookAhead())) {</a></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;209</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                    <span 
class="comment">// double or escaped encapsulator -&gt; add single encapsulator 
to token</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;210</td>  <td 
class="nbHitsCovered">&nbsp;52769</td>  <td class="src"><pre class="src">&nbsp; 
                   c = in.read();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;211</td>  <td 
class="nbHitsCovered">&nbsp;52769</td>  <td class="src"><pre class="src">&nbsp; 
                   tkn.content.append((<span class="keyword">char</span>) 
c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;212</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                } <span 
class="keyword">else</span> {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;213</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                    <span 
class="comment">// token finish mark (encapsulator) reached: ignore whitespace 
till delimiter</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;214</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                    <span 
class="keyword">while</span> (<span class="keyword">true</span>) 
{</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;215</td>  <td 
class="nbHitsCovered">&nbsp;92355</td>  <td class="src"><pre class="src">&nbsp; 
                       c = in.read();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;216</td>  <td class="nbHitsCovered"><a 
title="Line 216: Conditional coverage 100% (2/2).">&nbsp;92355</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 216: Conditional coverage 
100% (2/2).">                        <span class="keyword">if</span> 
(isDelimiter(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;217</td>  <td 
class="nbHitsCovered">&nbsp;46812</td>  <td class="src"><pre class="src">&nbsp; 
                           tkn.type = TOKEN;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;218</td>  <td 
class="nbHitsCovered">&nbsp;46812</td>  <td class="src"><pre class="src">&nbsp; 
                           <span class="keyword">return</span> 
tkn;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;219</td>  <td class="nbHitsCovered"><a 
title="Line 219: Conditional coverage 100% (2/2).">&nbsp;45543</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 219: Conditional coverage 
100% (2/2).">                        } <span class="keyword">else</span> <span 
class="keyword">if</span> (isEndOfFile(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;220</td>  <td 
class="nbHitsCovered">&nbsp;6</td>  <td class="src"><pre class="src">&nbsp;     
                       tkn.type = EOF;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;221</td>  <td 
class="nbHitsCovered">&nbsp;6</td>  <td class="src"><pre class="src">&nbsp;     
                       tkn.isReady = <span class="keyword">true</span>; <span 
class="comment">// There is data at EOF</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;222</td>  <td 
class="nbHitsCovered">&nbsp;6</td>  <td class="src"><pre class="src">&nbsp;     
                       <span class="keyword">return</span> tkn;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;223</td>  <td class="nbHitsCovered"><a 
title="Line 223: Conditional coverage 100% (2/2).">&nbsp;45537</a></td>  <td 
class="src"><pre class="src">&nbsp;<a title="Line 223: Conditional coverage 
100% (2/2).">                        } <span class="keyword">else</span> <span 
class="keyword">if</span> (readEndOfLine(c)) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;224</td>  <td 
class="nbHitsCovered">&nbsp;45528</td>  <td class="src"><pre class="src">&nbsp; 
                           tkn.type = EORECORD;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;225</td>  <td 
class="nbHitsCovered">&nbsp;45528</td>  <td class="src"><pre class="src">&nbsp; 
                           <span class="keyword">return</span> 
tkn;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;226</td>  <td class="nbHitsUncovered"><a 
title="Line 226: Conditional coverage 50% (1/2).">&nbsp;9</a></td>  <td 
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 
226: Conditional coverage 50% (1/2).">                        } <span 
class="keyword">else</span> <span class="keyword">if</span> (!isWhitespace(c)) 
{</a></span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;227</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                            <span 
class="comment">// error invalid char between token and next 
delimiter</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;228</td>  <td 
class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span 
class="srcUncovered">&nbsp;                            <span 
class="keyword">throw</span> <span class="keyword">new</span> IOException(<span 
class="string">"(line "</span> + getLineNumber() +</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;229</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                                    
<span class="string">") invalid char between encapsulated token and 
delimiter"</span>);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;230</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                        
}</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;231</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                    }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;232</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                }</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;233</td>  <td class="nbHitsUncovered"><a 
title="Line 233: Conditional coverage 50% (1/2).">&nbsp;934507</a></td>  <td 
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 
233: Conditional coverage 50% (1/2).">            } <span 
class="keyword">else</span> <span class="keyword">if</span> (isEndOfFile(c)) 
{</a></span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;234</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// error condition (end of file before end of 
token)</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;235</td>  <td 
class="nbHitsUncovered">&nbsp;0</td>  <td class="src"><pre class="src"><span 
class="srcUncovered">&nbsp;                <span class="keyword">throw</span> 
<span class="keyword">new</span> IOException(<span class="string">"(startline 
"</span> + startLineNumber +</span></pre></td></tr>
+<tr>  <td class="numLine">&nbsp;236</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                        <span 
class="string">") EOF reached before encapsulated token 
finished"</span>);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;237</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            } <span 
class="keyword">else</span> {</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;238</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;                <span 
class="comment">// consume character</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;239</td>  <td 
class="nbHitsCovered">&nbsp;934507</td>  <td class="src"><pre 
class="src">&nbsp;                tkn.content.append((<span 
class="keyword">char</span>) c);</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;240</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;            }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;241</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;242</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;243</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;</pre></td></tr>
+<tr>  <td class="numLine">&nbsp;244</td>  <td class="nbHits">&nbsp;</td>
+  <td class="src"><pre class="src">&nbsp;}</pre></td></tr>
+</table>
+
+<div class="footer">Report generated by <a 
href="http://cobertura.sourceforge.net/"; target="_top">Cobertura</a> 1.9.4.1 on 
3/21/13 11:16 AM.</div>
+</body>
+</html>
\ No newline at end of file

Propchange: 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVLexer.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
websites/production/commons/content/proper/commons-csv/cobertura/org.apache.commons.csv.CSVLexer.html
------------------------------------------------------------------------------
    svn:keywords = Id


Reply via email to