src/eric7/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9507
1f39839655ea
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
166 @return dictionary with the keys 'error' and 'warnings' which 166 @return dictionary with the keys 'error' and 'warnings' which
167 hold a list containing details about the error/ warnings 167 hold a list containing details about the error/ warnings
168 (file name, line number, column, codestring (only at syntax 168 (file name, line number, column, codestring (only at syntax
169 errors), the message, a list with arguments for the message) 169 errors), the message, a list with arguments for the message)
170 """ 170 """
171 import jasy.script.parse.Parser as jsParser 171 import jasy.script.parse.Parser as jsParser # __IGNORE_WARNING_I102__
172 import jasy.script.tokenize.Tokenizer as jsTokenizer 172 import jasy.script.tokenize.Tokenizer as jsTokenizer # __IGNORE_WARNING_I102__
173 173
174 codestring = normalizeCode(codestring) 174 codestring = normalizeCode(codestring)
175 175
176 try: 176 try:
177 jsParser.parse(codestring, file) 177 jsParser.parse(codestring, file)

eric ide

mercurial