Class Scope.Info

  • Enclosing class:
    Scope

    public static class Scope.Info
    extends java.lang.Object
    Class to encapsulate and provide access to info about the current scope for debugging.
    • Constructor Summary

      Constructors 
      Constructor Description
      Info​(Scope scope, java.lang.Object owner)
      c'tor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumn()
      column getter
      int getDepth()
      current depth
      int getLine()
      line getter
      java.lang.String getName()
      name getter
      java.lang.String getTemplate()
      template name getter
      java.lang.String getType()
      type getter
      java.lang.String toString()
      string representation getter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Info

        public Info​(Scope scope,
                    java.lang.Object owner)
        c'tor
        Parameters:
        scope -
        owner -
    • Method Detail

      • getName

        public java.lang.String getName()
        name getter
        Returns:
        name
      • getType

        public java.lang.String getType()
        type getter
        Returns:
        scope type
      • getDepth

        public int getDepth()
        current depth
        Returns:
        depth
      • getTemplate

        public java.lang.String getTemplate()
        template name getter
        Returns:
        template name
      • getLine

        public int getLine()
        line getter
        Returns:
        line number
      • getColumn

        public int getColumn()
        column getter
        Returns:
        column number
      • toString

        public java.lang.String toString()
        string representation getter
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representation