mirror of
https://github.com/github/codeql.git
synced 2026-02-12 21:21:16 +01:00
12 lines
324 B
Python
12 lines
324 B
Python
|
|
from abc import abstractmethod
|
|
|
|
class Pass(object):
|
|
'''The base class for all extractor passes.
|
|
Defines a single method 'extract' for all extractors to override'''
|
|
|
|
@abstractmethod
|
|
def extract(self, module, writer):
|
|
'''Extract trap file data from 'module', writing it to the writer.'''
|
|
pass
|