Class PropertyExpression

  • Direct Known Subclasses:

    public class PropertyExpression
    extends Expression
    Represents a property access such as the expression "".
    • Constructor Detail

      • PropertyExpression

        public PropertyExpression​(Expression objectExpression,
                                  java.lang.String property)
      • PropertyExpression

        public PropertyExpression​(Expression objectExpression,
                                  Expression property)
      • PropertyExpression

        public PropertyExpression​(Expression objectExpression,
                                  Expression property,
                                  boolean safe)
    • Method Detail

      • isStatic

        public boolean isStatic()
      • isDynamic

        public boolean isDynamic()
      • getObjectExpression

        public Expression getObjectExpression()
      • setObjectExpression

        public void setObjectExpression​(Expression exp)
      • getPropertyAsString

        public java.lang.String getPropertyAsString()
      • getText

        public java.lang.String getText()
        getText in class ASTNode
      • isSafe

        public boolean isSafe()
        is this a safe navigation, i.e. if true then if the source object is null then this navigation will return null
      • isSpreadSafe

        public boolean isSpreadSafe()
      • setSpreadSafe

        public void setSpreadSafe​(boolean value)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • setStatic

        public void setStatic​(boolean aStatic)
      • isImplicitThis

        public boolean isImplicitThis()
      • setImplicitThis

        public void setImplicitThis​(boolean it)