You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
procedureTPasSyntaxTreeBuilder.DirectiveBinding;
var
Token: string;
begin
token := Lexer.Token;
// Method bindings:if SameText(Token, 'override') or SameText(token, 'virtual')
or SameText(Token, 'dynamic') or SameText(Token, 'static')
then
FStack.Peek.Attribute[anMethodBinding]:= Token
// Other directiveselseif SameText(token, 'reintroduce') then
FStack.Peek.Attribute[anReintroduce]:= AttributeValues[atTrue]
elseif SameText(Token, 'overload') then
FStack.Peek.Attribute[anOverload]:= AttributeValues[atTrue]
elseif SameText(Token, 'abstract') or SameText(Token, 'final') then
FStack.Peek.Attribute[anAbstract]:= Token;
inherited;
end;
The text was updated successfully, but these errors were encountered:
JBontes
pushed a commit
to JBontes/DelphiAST
that referenced
this issue
Oct 13, 2017
The
static
method binding is not recorded.Here's the fix:
The text was updated successfully, but these errors were encountered: