Class

com.github.mdr.ascii.diagram.parser

DiagramParser

Related Doc: package parser

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiagramParser(s: String)

    Permalink

Type Members

  1. class BoxImpl extends DiagramParser.ContainerImpl with Box

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    DiagramImplementation
  4. class EdgeImpl extends Edge

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

    Permalink
    Attributes
    protected
    Definition Classes
    DiagramImplementation
  6. trait RegionToString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    DiagramImplementation

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val allEdgePoints: Set[Point]

    Permalink
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected
  8. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
  10. val diagramRegion: Region

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

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

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

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

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

    Permalink

    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()
  16. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Attributes
    protected
  21. def isBoxEdge(point: Point): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

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

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

    Permalink
    Attributes
    protected
  28. val numberOfRows: Int

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

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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