forked from jasder/antlr
All projects are now building and tests passing from Maven
This commit is contained in:
parent
d0c3694e71
commit
fd13f137f2
|
@ -181,7 +181,8 @@
|
|||
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
<!-- We'll make an integration test for this
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-testgen-maven-plugin</artifactId>
|
||||
|
@ -197,7 +198,7 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
-->
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
|
42
antlr4.iml
42
antlr4.iml
|
@ -1,42 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="Python" name="Python">
|
||||
<configuration sdkName="" />
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/gen3" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/gen4" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/runtime/Java/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/runtime-testsuite/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/runtime-testsuite/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/runtime-testsuite/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tool/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tool-testsuite/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/runtime" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tool/resources" type="java-resource" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/runtime-testsuite/test/org/antlr/v4/test/runtime/javascript/chrome" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/runtime-testsuite/test/org/antlr/v4/test/runtime/javascript/explorer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/runtime-testsuite/test/org/antlr/v4/test/runtime/javascript/firefox" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/runtime-testsuite/test/org/antlr/v4/test/runtime/javascript/safari" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="antlr-3.5.2-complete-no-st3" level="application" />
|
||||
<orderEntry type="library" name="ST-4.0.8" level="application" />
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/runtime/Java/lib/org.abego.treelayout.core.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="hamcrest-core-1.3" level="application" />
|
||||
<orderEntry type="library" name="junit-4.11" level="application" />
|
||||
</component>
|
||||
</module>
|
194
antlr4.ipr
194
antlr4.ipr
|
@ -1,194 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="jar" name="antlr4:jar">
|
||||
<output-path>$PROJECT_DIR$/dist</output-path>
|
||||
<root id="archive" name="antlr-4.5.1-complete.jar">
|
||||
<element id="directory" name="META-INF">
|
||||
<element id="file-copy" path="$PROJECT_DIR$/META-INF/MANIFEST.MF" />
|
||||
</element>
|
||||
<element id="module-output" name="antlr4" />
|
||||
<element id="extracted-dir" path="$APPLICATION_HOME_DIR$/lib/junit-4.11.jar" path-in-jar="/" />
|
||||
<element id="extracted-dir" path="/usr/local/lib/antlr-3.5.2-complete-no-st3.jar" path-in-jar="/" />
|
||||
<element id="extracted-dir" path="$PROJECT_DIR$/runtime/Java/lib/org.abego.treelayout.core.jar" path-in-jar="/" />
|
||||
<element id="extracted-dir" path="/usr/local/lib/ST-4.0.8.jar" path-in-jar="/" />
|
||||
<element id="extracted-dir" path="$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar" path-in-jar="/" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="DEFAULT_COMPILER" value="Javac" />
|
||||
<resourceExtensions />
|
||||
<wildcardResourcePatterns>
|
||||
<entry name="!?*.java" />
|
||||
<entry name="!?*.form" />
|
||||
<entry name="!?*.class" />
|
||||
<entry name="!?*.groovy" />
|
||||
<entry name="!?*.scala" />
|
||||
<entry name="!?*.flex" />
|
||||
<entry name="!?*.kt" />
|
||||
<entry name="!?*.clj" />
|
||||
<entry name="!?*.aj" />
|
||||
</wildcardResourcePatterns>
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="false">
|
||||
<processorPath useClasspath="true" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="CopyrightManager" default="" />
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points version="2.0" />
|
||||
</component>
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
<OptionsSetting value="true" id="Remove" />
|
||||
<OptionsSetting value="true" id="Checkout" />
|
||||
<OptionsSetting value="true" id="Update" />
|
||||
<OptionsSetting value="true" id="Status" />
|
||||
<OptionsSetting value="true" id="Edit" />
|
||||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/antlr4.iml" filepath="$PROJECT_DIR$/antlr4.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
<component name="libraryTable">
|
||||
<library name="org.abego.treelayout.core">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/runtime/Java/lib/org.abego.treelayout.core.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
</project>
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
File diff suppressed because it is too large
Load Diff
|
@ -1,69 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +0,0 @@
|
|||
ATTR=4
|
||||
ATTR_VALUE_EXPR=5
|
||||
COMMENT=6
|
||||
ID=7
|
||||
LINE_COMMENT=8
|
||||
NONLOCAL_ATTR=9
|
||||
QUALIFIED_ATTR=10
|
||||
SET_ATTR=11
|
||||
SET_NONLOCAL_ATTR=12
|
||||
TEXT=13
|
||||
WS=14
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
File diff suppressed because it is too large
Load Diff
|
@ -1,96 +0,0 @@
|
|||
ACTION=4
|
||||
ACTION_CHAR_LITERAL=5
|
||||
ACTION_ESC=6
|
||||
ACTION_STRING_LITERAL=7
|
||||
ARG_ACTION=8
|
||||
ARG_OR_CHARSET=9
|
||||
ASSIGN=10
|
||||
AT=11
|
||||
CATCH=12
|
||||
CHANNELS=13
|
||||
COLON=14
|
||||
COLONCOLON=15
|
||||
COMMA=16
|
||||
COMMENT=17
|
||||
DOC_COMMENT=18
|
||||
DOLLAR=19
|
||||
DOT=20
|
||||
ERRCHAR=21
|
||||
ESC_SEQ=22
|
||||
FINALLY=23
|
||||
FRAGMENT=24
|
||||
GRAMMAR=25
|
||||
GT=26
|
||||
HEX_DIGIT=27
|
||||
ID=28
|
||||
IMPORT=29
|
||||
INT=30
|
||||
LEXER=31
|
||||
LEXER_CHAR_SET=32
|
||||
LOCALS=33
|
||||
LPAREN=34
|
||||
LT=35
|
||||
MODE=36
|
||||
NESTED_ACTION=37
|
||||
NLCHARS=38
|
||||
NOT=39
|
||||
NameChar=40
|
||||
NameStartChar=41
|
||||
OPTIONS=42
|
||||
OR=43
|
||||
PARSER=44
|
||||
PLUS=45
|
||||
PLUS_ASSIGN=46
|
||||
POUND=47
|
||||
PRIVATE=48
|
||||
PROTECTED=49
|
||||
PUBLIC=50
|
||||
QUESTION=51
|
||||
RANGE=52
|
||||
RARROW=53
|
||||
RBRACE=54
|
||||
RETURNS=55
|
||||
RPAREN=56
|
||||
RULE_REF=57
|
||||
SEMI=58
|
||||
SEMPRED=59
|
||||
SRC=60
|
||||
STAR=61
|
||||
STRING_LITERAL=62
|
||||
SYNPRED=63
|
||||
THROWS=64
|
||||
TOKENS_SPEC=65
|
||||
TOKEN_REF=66
|
||||
TREE_GRAMMAR=67
|
||||
UNICODE_ESC=68
|
||||
UnicodeBOM=69
|
||||
WS=70
|
||||
WSCHARS=71
|
||||
WSNLCHARS=72
|
||||
ALT=73
|
||||
ALTLIST=74
|
||||
ARG=75
|
||||
ARGLIST=76
|
||||
BLOCK=77
|
||||
CHAR_RANGE=78
|
||||
CLOSURE=79
|
||||
COMBINED=80
|
||||
ELEMENT_OPTIONS=81
|
||||
EPSILON=82
|
||||
INITACTION=83
|
||||
LABEL=84
|
||||
LEXER_ACTION_CALL=85
|
||||
LEXER_ALT_ACTION=86
|
||||
LIST=87
|
||||
OPTIONAL=88
|
||||
POSITIVE_CLOSURE=89
|
||||
PREC_RULE=90
|
||||
RESULT=91
|
||||
RET=92
|
||||
RULE=93
|
||||
RULEACTIONS=94
|
||||
RULEMODIFIERS=95
|
||||
RULES=96
|
||||
SET=97
|
||||
TEMPLATE=98
|
||||
WILDCARD=99
|
|
@ -1,138 +0,0 @@
|
|||
// Generated from /Users/parrt/antlr/code/antlr4/runtime/Java/src/org/antlr/v4/runtime/tree/xpath/XPathLexer.g4 by ANTLR 4.5.1
|
||||
package org.antlr.v4.runtime.tree.xpath;
|
||||
import org.antlr.v4.runtime.Lexer;
|
||||
import org.antlr.v4.runtime.CharStream;
|
||||
import org.antlr.v4.runtime.Token;
|
||||
import org.antlr.v4.runtime.TokenStream;
|
||||
import org.antlr.v4.runtime.*;
|
||||
import org.antlr.v4.runtime.atn.*;
|
||||
import org.antlr.v4.runtime.dfa.DFA;
|
||||
import org.antlr.v4.runtime.misc.*;
|
||||
|
||||
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
|
||||
public class XPathLexer extends Lexer {
|
||||
static { RuntimeMetaData.checkVersion("4.5.1", RuntimeMetaData.VERSION); }
|
||||
|
||||
protected static final DFA[] _decisionToDFA;
|
||||
protected static final PredictionContextCache _sharedContextCache =
|
||||
new PredictionContextCache();
|
||||
public static final int
|
||||
TOKEN_REF=1, RULE_REF=2, ANYWHERE=3, ROOT=4, WILDCARD=5, BANG=6, ID=7,
|
||||
STRING=8;
|
||||
public static String[] modeNames = {
|
||||
"DEFAULT_MODE"
|
||||
};
|
||||
|
||||
public static final String[] ruleNames = {
|
||||
"ANYWHERE", "ROOT", "WILDCARD", "BANG", "ID", "NameChar", "NameStartChar",
|
||||
"STRING"
|
||||
};
|
||||
|
||||
private static final String[] _LITERAL_NAMES = {
|
||||
null, null, null, "'//'", "'/'", "'*'", "'!'"
|
||||
};
|
||||
private static final String[] _SYMBOLIC_NAMES = {
|
||||
null, "TOKEN_REF", "RULE_REF", "ANYWHERE", "ROOT", "WILDCARD", "BANG",
|
||||
"ID", "STRING"
|
||||
};
|
||||
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #VOCABULARY} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String[] tokenNames;
|
||||
static {
|
||||
tokenNames = new String[_SYMBOLIC_NAMES.length];
|
||||
for (int i = 0; i < tokenNames.length; i++) {
|
||||
tokenNames[i] = VOCABULARY.getLiteralName(i);
|
||||
if (tokenNames[i] == null) {
|
||||
tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
||||
}
|
||||
|
||||
if (tokenNames[i] == null) {
|
||||
tokenNames[i] = "<INVALID>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public String[] getTokenNames() {
|
||||
return tokenNames;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
public Vocabulary getVocabulary() {
|
||||
return VOCABULARY;
|
||||
}
|
||||
|
||||
|
||||
public XPathLexer(CharStream input) {
|
||||
super(input);
|
||||
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGrammarFileName() { return "XPathLexer.g4"; }
|
||||
|
||||
@Override
|
||||
public String[] getRuleNames() { return ruleNames; }
|
||||
|
||||
@Override
|
||||
public String getSerializedATN() { return _serializedATN; }
|
||||
|
||||
@Override
|
||||
public String[] getModeNames() { return modeNames; }
|
||||
|
||||
@Override
|
||||
public ATN getATN() { return _ATN; }
|
||||
|
||||
@Override
|
||||
public void action(RuleContext _localctx, int ruleIndex, int actionIndex) {
|
||||
switch (ruleIndex) {
|
||||
case 4:
|
||||
ID_action((RuleContext)_localctx, actionIndex);
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void ID_action(RuleContext _localctx, int actionIndex) {
|
||||
switch (actionIndex) {
|
||||
case 0:
|
||||
|
||||
String text = getText();
|
||||
if ( Character.isUpperCase(text.charAt(0)) ) setType(TOKEN_REF);
|
||||
else setType(RULE_REF);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\n\64\b\1\4\2\t\2"+
|
||||
"\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\3\2\3\2\3\2\3"+
|
||||
"\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\7\6\37\n\6\f\6\16\6\"\13\6\3\6\3\6\3\7"+
|
||||
"\3\7\5\7(\n\7\3\b\3\b\3\t\3\t\7\t.\n\t\f\t\16\t\61\13\t\3\t\3\t\3/\2\n"+
|
||||
"\3\5\5\6\7\7\t\b\13\t\r\2\17\2\21\n\3\2\4\7\2\62;aa\u00b9\u00b9\u0302"+
|
||||
"\u0371\u2041\u2042\17\2C\\c|\u00c2\u00d8\u00da\u00f8\u00fa\u0301\u0372"+
|
||||
"\u037f\u0381\u2001\u200e\u200f\u2072\u2191\u2c02\u2ff1\u3003\ud801\uf902"+
|
||||
"\ufdd1\ufdf2\uffff\64\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2"+
|
||||
"\2\13\3\2\2\2\2\21\3\2\2\2\3\23\3\2\2\2\5\26\3\2\2\2\7\30\3\2\2\2\t\32"+
|
||||
"\3\2\2\2\13\34\3\2\2\2\r\'\3\2\2\2\17)\3\2\2\2\21+\3\2\2\2\23\24\7\61"+
|
||||
"\2\2\24\25\7\61\2\2\25\4\3\2\2\2\26\27\7\61\2\2\27\6\3\2\2\2\30\31\7,"+
|
||||
"\2\2\31\b\3\2\2\2\32\33\7#\2\2\33\n\3\2\2\2\34 \5\17\b\2\35\37\5\r\7\2"+
|
||||
"\36\35\3\2\2\2\37\"\3\2\2\2 \36\3\2\2\2 !\3\2\2\2!#\3\2\2\2\" \3\2\2\2"+
|
||||
"#$\b\6\2\2$\f\3\2\2\2%(\5\17\b\2&(\t\2\2\2\'%\3\2\2\2\'&\3\2\2\2(\16\3"+
|
||||
"\2\2\2)*\t\3\2\2*\20\3\2\2\2+/\7)\2\2,.\13\2\2\2-,\3\2\2\2.\61\3\2\2\2"+
|
||||
"/\60\3\2\2\2/-\3\2\2\2\60\62\3\2\2\2\61/\3\2\2\2\62\63\7)\2\2\63\22\3"+
|
||||
"\2\2\2\6\2 \'/\3\3\6\2";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
|
||||
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
|
||||
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
TOKEN_REF=1
|
||||
RULE_REF=2
|
||||
ANYWHERE=3
|
||||
ROOT=4
|
||||
WILDCARD=5
|
||||
BANG=6
|
||||
ID=7
|
||||
STRING=8
|
||||
'//'=3
|
||||
'/'=4
|
||||
'*'=5
|
||||
'!'=6
|
14
pom.xml
14
pom.xml
|
@ -64,7 +64,7 @@
|
|||
<module>tool</module>
|
||||
<module>runtime-testsuite</module>
|
||||
<module>antlr4-maven-plugin</module>
|
||||
<!-- <module>antlr4-testgen-maven-plugin</module> -->
|
||||
<module>antlr4-testgen-maven-plugin</module>
|
||||
<module>tool-testsuite</module>
|
||||
</modules>
|
||||
|
||||
|
@ -107,6 +107,18 @@
|
|||
<directory>test</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<target>${maven.compiler.target}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
|
|
|
@ -29,19 +29,35 @@
|
|||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-runtime</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<testSourceDirectory>ignored</testSourceDirectory>
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>resources</directory>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../runtime</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<excludes>
|
||||
<exclude>**/safari/*.java</exclude>
|
||||
<exclude>**/chrome/*.java</exclude>
|
||||
|
@ -71,36 +87,16 @@
|
|||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<configuration>
|
||||
<skipCache>true</skipCache>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>target/generated-sources</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -44,6 +44,12 @@
|
|||
<version>${project.version}</version>
|
||||
<type>test-jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-runtime-testsuite</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>test-jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
|
|
Loading…
Reference in New Issue