Skip to content

Instantly share code, notes, and snippets.

@GoldsteinE
Created August 26, 2018 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GoldsteinE/9dd868a1aaa4acb0170b00de4a2c1ba2 to your computer and use it in GitHub Desktop.
Save GoldsteinE/9dd868a1aaa4acb0170b00de4a2c1ba2 to your computer and use it in GitHub Desktop.
test
import tokenize
from construct.lexer import CodeElem, LOC
from construct.constructs.basic import BasicConstruct, T
class ConstructImportConstruct(BasicConstruct):
def feed(self, elem: CodeElem) -> None:
if not isinstance(elem, LOC):
return None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment