feat(aa): a Constraint and Kind method to the Rule interface.
This commit is contained in:
parent
a5c4eab0cf
commit
f763d31a07
18 changed files with 210 additions and 19 deletions
|
|
@ -40,5 +40,13 @@ func (r *Ptrace) Equals(other any) bool {
|
|||
}
|
||||
|
||||
func (r *Ptrace) String() string {
|
||||
return renderTemplate(tokPTRACE, r)
|
||||
return renderTemplate(r.Kind(), r)
|
||||
}
|
||||
|
||||
func (r *Ptrace) Constraint() constraint {
|
||||
return blockKind
|
||||
}
|
||||
|
||||
func (r *Ptrace) Kind() string {
|
||||
return tokPTRACE
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue