Package sc.parser

Class FormatContext.Entry

  • Enclosing class:
    FormatContext

    public static class FormatContext.Entry
    extends java.lang.Object
    During the formatting process, we walk the parse node tree using these Entries as breadcrumbs to point to where we are in the tree at any given moment. From the format context, we can find the next character, the previous character and next and previous semantic nodes to determine what to do with regards to spacing, indentation and newlines.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Entry

        public Entry()