Debian Codegraph @

debian/control

raw
1 Source: jtb
2 Section: devel
3 Priority: optional
4 Maintainer: Debian QA Group <[email protected]>
5 Build-Depends:
6 debhelper-compat (= 13),
7 javahelper (>= 0.31),
8 Build-Depends-Indep:
9 ant,
10 default-jdk,
11 javacc,
12 maven-repo-helper,
13 Rules-Requires-Root: no
14 Standards-Version: 4.6.2
15 Homepage: http://eclipse-javacc.sourceforge.net/jtb_doc.html
16 Vcs-Git: https://salsa.debian.org/debian/jtb.git
17 Vcs-Browser: https://salsa.debian.org/debian/jtb
18
19 Package: jtb
20 Architecture: all
21 Depends:
22 ${java:Depends},
23 ${misc:Depends},
24 Description: syntax tree builder and visitors generator for JavaCC
25 JTB (Java Tree Builder) is a syntax tree builder and visitors generator to be
26 used in front of JavaCC (Java Compiler Compiler). It takes a JavaCC grammar
27 file as input (usually a ".jtb" file) and automatically generates the
28 following:
29 * a set of syntax tree classes based on the productions in the grammar,
30 utilizing the Visitor design pattern;
31 * four interfaces: IVoidVisitor, IVoidArguVisitor, IRetVisitor,
32 IRetArguVisitor;
33 * four depth-first visitors: DepthFirstVoidVisitor, DepthFirstVoidArguVisitor,
34 DepthFirstRetVisitor, DepthFirstREtArguVisitor, whose default methods simply
35 visit the children of the current node;
36 * a JavaCC grammar ".jj" file (jtb.out.jj by default), with the proper
37 annotations to build the syntax tree during parsing (which then must be
38 compiled with JavaCC).
39 .
40 New visitors, which subclass any generated one, can then override the default
41 methods and perform various operations on and manipulate the generated syntax
42 tree.