forked from jasder/antlr
got javadoc DOT images in; updated font names to avoid warnings
This commit is contained in:
parent
4bc3284412
commit
775aaa6494
12
bild.py
12
bild.py
|
@ -42,9 +42,15 @@ def clean():
|
|||
rmdir("doc")
|
||||
|
||||
def mkdoc():
|
||||
mkdirs("doc/Java")
|
||||
mkdirs("doc/JavaTool")
|
||||
mkdir("doc/Java")
|
||||
mkdir("doc/JavaTool")
|
||||
javadoc(srcdir="runtime/Java/src", trgdir="doc/Java", packages="org.antlr.v4.runtime")
|
||||
javadoc(srcdir="tool/src", trgdir="doc/JavaTool", packages="org.antlr.v4")
|
||||
# build stack merge PredictionContext and ATNState images from DOT
|
||||
# DOT Images are in runtime/Java/src/main/dot/org/antlr/v4/runtime/atn/images/
|
||||
# Gen into E.g., doc/Java/org/antlr/v4/runtime/atn/images/SingletonMerge_DiffRootSamePar.svg
|
||||
mkdir("doc/Java/org/antlr/v4/runtime/atn/images")
|
||||
for f in glob.glob("runtime/Java/src/main/dot/org/antlr/v4/runtime/atn/images/*.dot"):
|
||||
dot(f, "doc/Java/org/antlr/v4/runtime/atn/images", format="svg")
|
||||
|
||||
processargs(globals()) # if you want cmd-line arg processing. Or, just call your target
|
||||
processargs(globals()) # E.g., "python bild.py all"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph clusterA {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
subgraph cluster0 {
|
||||
color="invis";
|
||||
{ node[shape="record"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
digraph "" {
|
||||
graph[fontname="Courier New";rankdir="LR";pad="0.25"];
|
||||
node[fontname="Courier New";target="_parent"];
|
||||
edge[fontname="Courier New"];
|
||||
graph[fontname="CourierNew";rankdir="LR";pad="0.25"];
|
||||
node[fontname="CourierNew";target="_parent"];
|
||||
edge[fontname="CourierNew"];
|
||||
{ node[shape="box"];
|
||||
RuleStartState[URL="../RuleStartState.html"];
|
||||
RuleStopState[URL="../RuleStopState.html"];
|
||||
|
|
|
@ -36,7 +36,7 @@ import java.util.Locale;
|
|||
import java.util.Map;
|
||||
|
||||
public class PostScriptDocument {
|
||||
public static final String DEFAULT_FONT = "Courier New";
|
||||
public static final String DEFAULT_FONT = "CourierNew";
|
||||
|
||||
public static final Map<String, String> POSTSCRIPT_FONT_NAMES;
|
||||
static {
|
||||
|
|
Loading…
Reference in New Issue