mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update outdated comments
_errors -> _errorReporter.
This commit is contained in:
parent
bc39e730b6
commit
33664c04a8
@ -38,7 +38,7 @@ class ErrorReporter;
|
|||||||
class PostTypeChecker: private ASTConstVisitor
|
class PostTypeChecker: private ASTConstVisitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// @param _errors the reference to the list of errors and warnings to add them found during type checking.
|
/// @param _errorReporter provides the error logging functionality.
|
||||||
PostTypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
PostTypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
||||||
|
|
||||||
bool check(ASTNode const& _astRoot);
|
bool check(ASTNode const& _astRoot);
|
||||||
|
@ -43,7 +43,7 @@ namespace solidity
|
|||||||
class StaticAnalyzer: private ASTConstVisitor
|
class StaticAnalyzer: private ASTConstVisitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// @param _errors the reference to the list of errors and warnings to add them found during static analysis.
|
/// @param _errorReporter provides the error logging functionality.
|
||||||
explicit StaticAnalyzer(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
explicit StaticAnalyzer(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
||||||
|
|
||||||
/// Performs static analysis on the given source unit and all of its sub-nodes.
|
/// Performs static analysis on the given source unit and all of its sub-nodes.
|
||||||
|
@ -38,7 +38,7 @@ namespace solidity
|
|||||||
class SyntaxChecker: private ASTConstVisitor
|
class SyntaxChecker: private ASTConstVisitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// @param _errors the reference to the list of errors and warnings to add them found during type checking.
|
/// @param _errorReporter provides the error logging functionality.
|
||||||
SyntaxChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
SyntaxChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
||||||
|
|
||||||
bool checkSyntax(ASTNode const& _astRoot);
|
bool checkSyntax(ASTNode const& _astRoot);
|
||||||
|
@ -42,7 +42,7 @@ class ErrorReporter;
|
|||||||
class TypeChecker: private ASTConstVisitor
|
class TypeChecker: private ASTConstVisitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// @param _errors the reference to the list of errors and warnings to add them found during type checking.
|
/// @param _errorReporter provides the error logging functionality.
|
||||||
TypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
TypeChecker(ErrorReporter& _errorReporter): m_errorReporter(_errorReporter) {}
|
||||||
|
|
||||||
/// Performs type checking on the given contract and all of its sub-nodes.
|
/// Performs type checking on the given contract and all of its sub-nodes.
|
||||||
|
Loading…
Reference in New Issue
Block a user