src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheckService.html

branch
eric7
changeset 9925
a267ac36dd69
parent 9209
b99e7fd55fd3
child 10341
3fdffd9cc21d
equal deleted inserted replaced
9924:b41c9a7bcbbb 9925:a267ac36dd69
453 containing filename and source (string, string) 453 containing filename and source (string, string)
454 </dd> 454 </dd>
455 </dl> 455 </dl>
456 <a NAME="SyntaxCheckService.syntaxCheck" ID="SyntaxCheckService.syntaxCheck"></a> 456 <a NAME="SyntaxCheckService.syntaxCheck" ID="SyntaxCheckService.syntaxCheck"></a>
457 <h4>SyntaxCheckService.syntaxCheck</h4> 457 <h4>SyntaxCheckService.syntaxCheck</h4>
458 <b>syntaxCheck</b>(<i>lang, filename, source</i>) 458 <b>syntaxCheck</b>(<i>lang, filename, source, *args</i>)
459 459
460 <p> 460 <p>
461 Public method to prepare a syntax check of one source file. 461 Public method to prepare a syntax check of one source file.
462 </p> 462 </p>
463 <dl> 463 <dl>
464 464
465 <dt><i>lang</i></dt> 465 <dt><i>lang</i> (str or None)</dt>
466 <dd> 466 <dd>
467 language of the file or None to determine by internal 467 language of the file or None to determine by internal
468 algorithm (str or None) 468 algorithm
469 </dd> 469 </dd>
470 <dt><i>filename</i></dt> 470 <dt><i>filename</i> (str)</dt>
471 <dd> 471 <dd>
472 source filename (string) 472 source filename
473 </dd> 473 </dd>
474 <dt><i>source</i></dt> 474 <dt><i>source</i> (str)</dt>
475 <dd> 475 <dd>
476 string containing the code to check (string) 476 string containing the code to check
477 </dd>
478 <dt><i>args</i> (tuple)</dt>
479 <dd>
480 tuple containing additional positional arguments
477 </dd> 481 </dd>
478 </dl> 482 </dl>
479 <div align="right"><a href="#top">Up</a></div> 483 <div align="right"><a href="#top">Up</a></div>
480 <hr /> 484 <hr />
481 </body></html> 485 </body></html>

eric ide

mercurial