Browse Source

Tweaks to expression types (and last commit).

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@740 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 18 years ago
parent
commit
d2981f9b27
  1. 8
      prism/src/parser/ast/ASTElement.java

8
prism/src/parser/ast/ASTElement.java

@ -127,6 +127,14 @@ public abstract class ASTElement
return type;
}
/**
* Get the type for this element, as a string.
*/
public String getTypeString()
{
return Expression.getTypeString(getType());
}
public boolean hasPosition()
{
return beginLine != -1;

Loading…
Cancel
Save