From 6b64dc01101535668223cad2a74c1d5dac3dbfc5 Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Wed, 23 May 2018 16:53:33 +0300 Subject: docs: remove utils/SolidityLexer.py Note that some features present in this local module have not been included in the upstream package yet!.. --- docs/utils/SolidityLexer.py | 82 --------------------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 docs/utils/SolidityLexer.py diff --git a/docs/utils/SolidityLexer.py b/docs/utils/SolidityLexer.py deleted file mode 100644 index 50f51cf4..00000000 --- a/docs/utils/SolidityLexer.py +++ /dev/null @@ -1,82 +0,0 @@ -# -*- coding: utf-8 -*- - -import re -import copy - -from pygments.lexer import RegexLexer, ExtendedRegexLexer, bygroups, using, \ - include, this -from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ - Number, Other, Punctuation, Literal - -__all__ = ['SolidityLexer'] - -class SolidityLexer(RegexLexer): - name = "Solidity" - aliases = ['sol', 'solidity'] - filenames = ['*.sol'] - mimetypes = [] - flags = re.DOTALL - tokens = { - 'commentsandwhitespace': [ - (r'\s+', Text), - (r'