Skip to content

Commit

Permalink
Only generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
briantu committed Nov 5, 2024
1 parent 0b3e51c commit 877b79d
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 139 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ pip install antlr4-python3-runtime
Under the `python_modules/dagster/dagster/_core/definitions/asset_selection` directory, run

```bash
$ antlr4 -Dlanguage=Python3 -visitor AssetSelection.g4
$ antlr4 -Dlanguage=Python3 -visitor AssetSelection.g4 -o generated
```

This will generate the lexer, listener, parser, and visitor files from the grammar file `AssetSelection.g4`.
This will generate the following files from the grammar file `AssetSelection.g4` in a `generated` folder:

- `AssetSelection.interp`
- `AssetSelection.tokens`
- `AssetSelectionLexer.interp`
- `AssetSelectionLexer.py`
- `AssetSelectionLexer.tokens`
- `AssetSelectionListener.py`
- `AssetSelectionParser.py`
- `AssetSelectionVisitor.py`

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# flake8: noqa
# Generated from AssetSelection.g4 by ANTLR 4.13.2
from antlr4 import *
from io import StringIO
import sys
from typing import TextIO

from antlr4 import *

if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO


def serializedATN():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# flake8: noqa
# Generated from AssetSelection.g4 by ANTLR 4.13.2
from antlr4 import *
from .AssetSelectionParser import AssetSelectionParser

if "." in __name__:
from .AssetSelectionParser import AssetSelectionParser
else:
from AssetSelectionParser import AssetSelectionParser


# This class defines a complete listener for a parse tree produced by AssetSelectionParser.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# flake8: noqa
# Generated from AssetSelection.g4 by ANTLR 4.13.2
# encoding: utf-8
from antlr4 import *
from io import StringIO
import sys
from typing import TextIO

from antlr4 import *

if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO


def serializedATN():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# flake8: noqa
# Generated from AssetSelection.g4 by ANTLR 4.13.2
from antlr4 import *
from .AssetSelectionParser import AssetSelectionParser

if "." in __name__:
from .AssetSelectionParser import AssetSelectionParser
else:
from AssetSelectionParser import AssetSelectionParser

# This class defines a complete generic visitor for a parse tree produced by AssetSelectionParser.


Expand Down

This file was deleted.

0 comments on commit 877b79d

Please sign in to comment.