Class Scope.Info

  • Enclosing class:
    Scope

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

      • Info

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

      • getName

        public String getName()
        name getter
        Returns:
        name
      • getType

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

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

        public 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 String toString()
        string representation getter
        Overrides:
        toString in class Object
        Returns:
        string representation