Commit graph

9 commits

Author SHA1 Message Date
Evgenii Stratonikov
4a0ed2f6ea [#3] policy: update doc.go
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
f5413e94b5 [#3] policy/test: increase test coverage
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
e78eb268a9 [#3] policy/test: remove debug print 2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
0f5ce2e8bb [#3] policy: allow to use brackets in filters
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
3aeeafe79e [#3] policy: use ANTLRv4 parser generator
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Angira Kekteeva
05d97531a9 [nspcc-dev/neofs-node#116] policy: Fix grammar.go
Linter prints warnings because of tags on structs
on grammar.go. But we need this syntax, so govet
and golint are turned off for this file.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:02:33 +03:00
Angira Kekteeva
0caf8cfd95 [nspcc-dev/neofs-node#116] policy: Add comments
Added comments to exported variables and
functions, fix typos in comments and extra
newlines in code

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:01:28 +03:00
Angira Kekteeva
4d1900e543 [nspcc-dev/neofs-node#116] policy: Replace dependency
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00
Angira Kekteeva
0eeddf6dfe [nspcc-dev/neofs-node#116] policy: Move files from neofs-node repo
Took from commit on neofs-node: f81ecbe8db17e63674a47b4b6d49575aced3c16d

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00