Java Doc for JavaReader.java in  » Parser » Rats-Parser-Generators » xtc » lang » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Parser » Rats Parser Generators » xtc.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   xtc.parser.ParserBase
      xtc.lang.JavaReader

JavaReader
final public class JavaReader extends ParserBase (Code)
Packrat parser for grammar xtc.lang.Java.

This class has been generated by the Rats! parser generator, version 1.13.1, (C) 2004-2007 Robert Grimm.


Inner Class :final static class Chunk1
Inner Class :final static class Chunk2
Inner Class :final static class Chunk3
Inner Class :final static class JavaReaderColumn extends Column

Field Summary
final public static  Set<String>JAVA_KEYWORDS
     The JAVA_KEYWORDS set.

Constructor Summary
public  JavaReader(Reader reader, String file)
     Create a new packrat parser.
public  JavaReader(Reader reader, String file, int size)
     Create a new packrat parser.

Method Summary
final protected static  voidadd(Set<T> set, T[] values)
     Add the specified values to the specified set.
final protected static  booleancontains(Set<T> set, T value)
     Check whether the specified set contains the specified value.
Parameters:
  set - The set.
Parameters:
  value - The value.
protected  ColumnnewColumn()
    
public  ResultpCompilationUnit(int yyStart)
     Parse nonterminal xtc.lang.Java.CompilationUnit.
Parameters:
  yyStart - The index.
public  ResultpCompilationUnit$$Split1(int yyStart)
     Parse synthetic nonterminal xtc.lang.Java.CompilationUnit$$Split1.
Parameters:
  yyStart - The index.
final protected static  StringtoText(Node n)
     Get the text for the specified annotated token.
Parameters:
  n - The annotated token.

Field Detail
JAVA_KEYWORDS
final public static Set<String> JAVA_KEYWORDS(Code)
The JAVA_KEYWORDS set.




Constructor Detail
JavaReader
public JavaReader(Reader reader, String file)(Code)
Create a new packrat parser.
Parameters:
  reader - The reader.
Parameters:
  file - The file name.



JavaReader
public JavaReader(Reader reader, String file, int size)(Code)
Create a new packrat parser.
Parameters:
  reader - The file reader.
Parameters:
  file - The file name.
Parameters:
  size - The file size.




Method Detail
add
final protected static void add(Set<T> set, T[] values)(Code)
Add the specified values to the specified set.
Parameters:
  set - The set.
Parameters:
  values - The new values.



contains
final protected static boolean contains(Set<T> set, T value)(Code)
Check whether the specified set contains the specified value.
Parameters:
  set - The set.
Parameters:
  value - The value. true if the set contains the value.



newColumn
protected Column newColumn()(Code)



pCompilationUnit
public Result pCompilationUnit(int yyStart) throws IOException(Code)
Parse nonterminal xtc.lang.Java.CompilationUnit.
Parameters:
  yyStart - The index. The result.
throws:
  IOException - Signals an I/O error.



pCompilationUnit$$Split1
public Result pCompilationUnit$$Split1(int yyStart) throws IOException(Code)
Parse synthetic nonterminal xtc.lang.Java.CompilationUnit$$Split1.
Parameters:
  yyStart - The index. The result.
throws:
  IOException - Signals an I/O error.



toText
final protected static String toText(Node n)(Code)
Get the text for the specified annotated token.
Parameters:
  n - The annotated token. The corresponding text.



Fields inherited from xtc.parser.ParserBase
final public static int FIRST_COLUMN(Code)(Java Doc)
final public static int FIRST_LINE(Code)(Java Doc)
final public static int INCR_SIZE(Code)(Java Doc)
final public static int INIT_SIZE(Code)(Java Doc)
final public static String NEWLINE(Code)(Java Doc)
protected Column[] yyColumns(Code)(Java Doc)
protected int yyCount(Code)(Java Doc)
protected char[] yyData(Code)(Java Doc)
protected boolean yyEOF(Code)(Java Doc)
protected Reader yyReader(Code)(Java Doc)

Methods inherited from xtc.parser.ParserBase
final protected T apply(Pair<Action<T>> actions, T seed)(Code)(Java Doc)
final protected T apply(Pair<Action<T>> actions, T seed, int index)(Code)(Java Doc)
final protected static T cast(Object o)(Code)(Java Doc)
final protected static Pair<T> cast(Pair p)(Code)(Java Doc)
final protected int character(int index) throws IOException(Code)(Java Doc)
final protected Column column(int index)(Code)(Java Doc)
final protected String difference(int start, int end)(Code)(Java Doc)
final public String format(ParseError error) throws IOException(Code)(Java Doc)
final public boolean isEOF(int index)(Code)(Java Doc)
final public String lineAt(int index) throws IOException(Code)(Java Doc)
final public Location location(int index)(Code)(Java Doc)
abstract protected Column newColumn()(Code)(Java Doc)
final protected String peek(int index)(Code)(Java Doc)
final public void resetTo(int index)(Code)(Java Doc)
final protected void setLocation(int index, String file, int line, int column)(Code)(Java Doc)
final public void setLocation(Locatable locatable, int index)(Code)(Java Doc)
final public void signal(ParseError error) throws ParseException, IOException(Code)(Java Doc)
final public Object value(Result r) throws ParseException, IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.