Class Interpreter.AnnotatedCall

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Object>
    Enclosing class:
    Interpreter

    public class Interpreter.AnnotatedCall
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Object>
    An annotated call.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object data
      The data.
      private int index
      The child index.
      private boolean processed
      Tracking whether we processed the annotation.
      private ASTAnnotatedStatement stmt
      The statement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object call()  
      java.lang.Object getStatement()  
      boolean isProcessed()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • index

        private final int index
        The child index.
      • data

        private final java.lang.Object data
        The data.
      • processed

        private boolean processed
        Tracking whether we processed the annotation.
    • Constructor Detail

      • AnnotatedCall

        AnnotatedCall​(ASTAnnotatedStatement astmt,
                      int aindex,
                      java.lang.Object adata)
        Simple ctor.
        Parameters:
        astmt - the statement
        aindex - the index
        adata - the data
    • Method Detail

      • call

        public java.lang.Object call()
                              throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Object>
        Throws:
        java.lang.Exception
      • getStatement

        public java.lang.Object getStatement()
        Returns:
        the actual statement.
      • isProcessed

        public boolean isProcessed()
        Returns:
        whether the statement has been processed