Retrieving the Scope of a statement

Cristian Creteanu cristian.creteanu at pm.me
Sat May 2 21:36:00 UTC 2020


On Tuesday, 21 April 2020 at 07:45:23 UTC, Basile B. wrote:
>   alias OnStatementSemanticStart = void function(Statement, 
> Scope*);
>   alias OnStatementSemanticDone = void function(Statement, 
> Scope*);
>   alias OnExpressionSemanticStart = void function(Expression, 
> Scope*);
>   alias OnExpressionSemanticDone = void function(Expression, 
> Scope*);
>
>   OnStatementSemanticStart onStatementSemanticStart;
>   OnStatementSemanticDone onStatementSemanticDone;
>   OnExpressionSemanticStart onExpressionSemanticStart;
>   OnExpressionSemanticDone onExpressionSemanticDone;
>
> and add the handlers in statementSemantic() and 
> expressionSemantic()


Thank you so much! It worked :D


More information about the Digitalmars-d mailing list