Skip to content

Commit c25b3c1

Browse files
committed
add test
1 parent 74b8495 commit c25b3c1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/t95AttributeParsing.m

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
% SYNTAX TEST "source.matlab" "Property etc. attribute parsing: https://github.com/mathworks/MATLAB-Language-grammar/issues/95"
2+
classdef Class
3+
% Some properties
4+
properties (SetAccess=public, GetAccess={?foo.bar.baz})
5+
% ^^^^^^^^^^^^ meta.cell.literal.matlab
6+
end
7+
8+
events (Hidden=true, ListenAccess={?foo.bar}, NotifyAccess=?bar.baz)
9+
% ^^^^^^^^ meta.cell.literal.matlab
10+
end
11+
12+
methods (Access=?bar.baz, Abstract=false)
13+
% ^^^^^^^ meta.metaclass.matlab
14+
end
15+
end

0 commit comments

Comments
 (0)