SourceLine

chisel3.experimental.SourceLine
case class SourceLine(filename: String, line: Int, col: Int) extends SourceInfo

For FIRRTL lines from a Scala source line.

Attributes

Note

A column == 0 indicates no column

Source
SourceInfo.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SourceInfo
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def filenameOption: Option[String]

The filename for the originating source file, if known

The filename for the originating source file, if known

Attributes

Source
SourceInfo.scala
def makeMessage(f: String => String = ...): String

A prettier toString

A prettier toString

Make a useful message if SourceInfo is available, nothing otherwise

Attributes

Source
SourceInfo.scala
def serialize: String

Convert to String for FIRRTL emission

Convert to String for FIRRTL emission

Attributes

Source
SourceInfo.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product