d: remove the @property attribute from interface Lexer

D best practices is to not use it.

* data/skeletons/lalr1.d: Remove attribute.
This commit is contained in:
Adela Vais
2020-10-01 16:13:18 +03:00
committed by Akim Demaille
parent cd40ec9526
commit 4855b98554

View File

@@ -50,18 +50,18 @@ public interface Lexer
/** /**
* Method to retrieve the beginning position of the last scanned token. * Method to retrieve the beginning position of the last scanned token.
* @@return the position at which the last scanned token starts. */ * @@return the position at which the last scanned token starts. */
@@property ]b4_position_type[ startPos (); ]b4_position_type[ startPos ();
/** /**
* Method to retrieve the ending position of the last scanned token. * Method to retrieve the ending position of the last scanned token.
* @@return the first position beyond the last scanned token. */ * @@return the first position beyond the last scanned token. */
@@property ]b4_position_type[ endPos (); ]b4_position_type[ endPos ();
]])[ ]])[
/** /**
* Method to retrieve the semantic value of the last scanned token. * Method to retrieve the semantic value of the last scanned token.
* @@return the semantic value of the last scanned token. */ * @@return the semantic value of the last scanned token. */
@@property ]b4_yystype[ semanticVal (); ]b4_yystype[ semanticVal ();
/** /**
* Entry point for the scanner. Returns the token identifier corresponding * Entry point for the scanner. Returns the token identifier corresponding
@@ -824,7 +824,7 @@ m4_popdef([b4_at_dollar])])dnl
private final struct YYStack { private final struct YYStack {
private YYStackElement[] stack = []; private YYStackElement[] stack = [];
public final @@property ulong height() public final ulong height()
{ {
return stack.length; return stack.length;
} }