com.github.mdr.ascii.diagram.parser

DiagramParser

class DiagramParser extends UnicodeEdgeParser with DiagramImplementation with BoxParser with AsciiEdgeParser with LabelParser

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DiagramParser
  2. LabelParser
  3. AsciiEdgeParser
  4. BoxParser
  5. DiagramImplementation
  6. UnicodeEdgeParser
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiagramParser(s: String)

Type Members

  1. class BoxImpl extends DiagramParser.ContainerImpl with Box

    Attributes
    protected
    Definition Classes
    DiagramImplementation
  2. abstract class ContainerImpl extends DiagramParser.RegionToString

    Attributes
    protected
    Definition Classes
    DiagramImplementation
  3. class DiagramImpl extends DiagramParser.ContainerImpl with Diagram

    Attributes
    protected
    Definition Classes
    DiagramImplementation
  4. class EdgeImpl extends Edge

    Attributes
    protected
    Definition Classes
    DiagramImplementation
  5. case class Label(start: Point, end: Point) extends Product with Serializable

    Attributes
    protected
    Definition Classes
    DiagramImplementation
  6. trait RegionToString extends AnyRef

    Attributes
    protected
    Definition Classes
    DiagramImplementation

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. lazy val allEdgePoints: Set[Point]

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def charAt(point: Point): Char

    Attributes
    protected
  9. def charAtOpt(point: Point): Option[Char]

    Attributes
    protected
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. val diagram: DiagramImpl

    Attributes
    protected
  12. val diagramRegion: Region

    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def findAllBoxes: List[BoxImpl]

    Attributes
    protected
    Definition Classes
    BoxParser
  16. final def followAsciiEdge(points: List[Point], direction: Direction): Option[EdgeImpl]

    Attributes
    protected
    Definition Classes
    AsciiEdgeParser
    Annotations
    @tailrec()
  17. final def followUnicodeEdge(points: List[Point], direction: Direction): Option[EdgeImpl]

    points

    -- non-empty list of points in the edge so far, in reverse order

    direction

    -- direction taken to reach the tip of the edge

    returns

    Some(edge) if the edge is well-formed and terminates at a box, otherwise None.

    Attributes
    protected
    Definition Classes
    UnicodeEdgeParser
    Annotations
    @tailrec()
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def getDiagram: Diagram

  20. def getLabel(edge: EdgeImpl): Option[Label]

    Attributes
    protected
    Definition Classes
    LabelParser
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def inDiagram(p: Point): Boolean

    Attributes
    protected
  23. def isBoxEdge(point: Point): Boolean

    Attributes
    protected
  24. def isEdgeStart(c: Char, direction: Direction): Boolean

    Attributes
    protected
    Definition Classes
    UnicodeEdgeParser
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. val numberOfColumns: Int

    Attributes
    protected
  30. val numberOfRows: Int

    Attributes
    protected
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LabelParser

Inherited from AsciiEdgeParser

Inherited from BoxParser

Inherited from DiagramImplementation

Inherited from UnicodeEdgeParser

Inherited from AnyRef

Inherited from Any

Ungrouped