Skip to content

Commit

Permalink
restore .g4 path
Browse files Browse the repository at this point in the history
  • Loading branch information
namenu committed Feb 14, 2024
1 parent 0d19b18 commit 7a03aac
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 10 deletions.
7 changes: 5 additions & 2 deletions codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
set -x

pip install antlr4-tools
antlr4 java/com/walmartlabs/lacinia/Graphql.g4 -package com.walmartlabs.lacinia
antlr4 java/com/walmartlabs/lacinia/GraphqlSchema.g4 -package com.walmartlabs.lacinia

PACKAGE_NAME='com/walmartlabs/lacinia'

antlr4 resources/$PACKAGE_NAME/Graphql.g4 -o java/$PACKAGE_NAME -Xexact-output-dir -package com.walmartlabs.lacinia
antlr4 resources/$PACKAGE_NAME/GraphqlSchema.g4 -o java/$PACKAGE_NAME -Xexact-output-dir -package com.walmartlabs.lacinia
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlBaseListener.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;

import org.antlr.v4.runtime.ParserRuleContext;
Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlLexer.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlListener.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.tree.ParseTreeListener;

Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlParser.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;

import org.antlr.v4.runtime.ParserRuleContext;
Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlSchemaLexer.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlSchemaListener.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.tree.ParseTreeListener;

Expand Down
2 changes: 1 addition & 1 deletion java/com/walmartlabs/lacinia/GraphqlSchemaParser.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from java/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
// Generated from resources/com/walmartlabs/lacinia/GraphqlSchema.g4 by ANTLR 4.13.1
package com.walmartlabs.lacinia;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
Expand Down
File renamed without changes.

0 comments on commit 7a03aac

Please sign in to comment.