solParser.py
def solKeywordFilter(List):
    """ Filters out unwanted keywords in a comment word array"""
    removeAr = ["uint","uint256","uint8",">","<","ERC677Token","ERC20","ERC677Receiver","*/","*","/*","/**","||","/","@param","//","@dev","%","+","-","&&","@return","ERC20Basic","ERC677","!","return","18","mul","a","b","c","0"]
    for word in list(List):
        if word in removeAr:
            List.remove(word)
    
    return list(dict.fromkeys(List))
 Filters out unwanted keywords in a comment word array
Filters out unwanted keywords in a comment word array
Filters out unwanted keywords in a comment word array
def solKeywordFilter(List):
    removeAr = ["uint","uint256","uint8",">","<","ERC677Token","ERC20","ERC677Receiver","*/","*","/*","/**","||","/","@param","//","@dev","%","+","-","&&","@return","ERC20Basic","ERC677","!","return","18","mul","a","b","c","0"]
    for word in list(List):
        if word in removeAr:
            List.remove(word)
    return list(dict.fromkeys(List))
def solKeywordFilter ( List ) : removeAr = [ "uint" , "uint256" , "uint8" , ">" , "<" , "ERC677Token" , "ERC20" , "ERC677Receiver" , "*/" , "*" , "/*" , "/**" , "||" , "/" , "@param" , "//" , "@dev" , "%" , "+" , "-" , "&&" , "@return" , "ERC20Basic" , "ERC677" , "!" , "return" , "18" , "mul" , "a" , "b" , "c" , "0" ] for word in list ( List ) : if word in removeAr : List . remove ( word ) return list ( dict . fromkeys ( List ) )
Filters out unwanted keywords in a comment word array
Filters out unwanted keywords in a comment word array
""" Filters out unwanted keywords in a comment word array"""
List