Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Can someone clarify the role of the field nameExpr of class Command?
For this command
check TT{ some foo : Foo | some foo.next }
the nameExpr field is an ExprUnary with this .toString(): "(some foo | some foo.next)" and an ExprBadJoin subexpression.
I'm asking because this causes visitExpressions() on the containing module to fail, which causes hover and doNav operations in OurSyntaxWidget to fail.
Can someone clarify the role of the field
nameExpr
of classCommand
? For this commandthe
nameExpr
field is an ExprUnary with this.toString()
:"(some foo | some foo.next)"
and anExprBadJoin
subexpression.I'm asking because this causes
visitExpressions()
on the containing module to fail, which causes hover and doNav operations inOurSyntaxWidget
to fail.