This commit is contained in:
Maximilien Rigaut 2022-06-16 00:31:49 +02:00
parent b420c89ab8
commit ee61ac9b00
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
4 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3
# Main program, use this to start parsing
""" Main program, use this to start parsing"""
from bootstraparse.modules import sitecreator, error_mngr
import argparse

View File

@ -0,0 +1,3 @@
"""
The modules in this folder are used to parse the website.
"""

View File

@ -1,3 +1,4 @@
"""
# Dedicated module for the syntax of all the parsing
# All tokens inherit a SemanticType among SemanticType, ExplicitSemanticType and EmptySemanticType
# All tokens have a label, and __eq__ and __ne__ methods.
@ -8,7 +9,7 @@
# line_to_replace.parse_line('string') # returns a List of tokens parsed for replacements
# imports.parse_line('string', True) # returns a List of tokens parsed for imports
# any_token.create_diagram("filename") # Debugging
"""
import os
from itertools import zip_longest
from collections import namedtuple

View File

@ -1,3 +1,4 @@
"""
###############################################################################
# List of tools for testing
###############################################################################
@ -6,7 +7,7 @@
# __GLk(n) # Returns a file link n traceback objects back
# __GL() # Returns a line number at current position
# find_*_in_file(file) # Try to find (class, function or variable) in file and return its line number
"""
import inspect
import os
import re