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
|
|
@ -47,3 +47,11 @@ func (r *ChangeProfile) Equals(other any) bool {
|
|||
func (r *ChangeProfile) String() string {
|
||||
return renderTemplate(tokCHANGEPROFILE, r)
|
||||
}
|
||||
|
||||
func (r *ChangeProfile) Constraint() constraint {
|
||||
return blockKind
|
||||
}
|
||||
|
||||
func (r *ChangeProfile) Kind() string {
|
||||
return tokCHANGEPROFILE
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue