TraceParser

de.uni_luebeck.isp.tessla.interpreter.TraceParser
object TraceParser

Provides parsing for traces in csv or standard format.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Event(streamName: Token, expression: ExpressionContext, timestamp: TimestampContext, loc: Location)

Representation of a parsed event.

Representation of a parsed event.

Value parameters

expression

the parsed expression

loc

location information for this event

streamName

the token representing the stream name

timestamp

the parsed timestamp

Attributes

See also

TraceExpressionEvaluator for evaluation of expression

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def parseCsvTrace(input: Iterator[String], fileName: String): Iterator[Event]

Parse a trace in csv format

Parse a trace in csv format

Value parameters

fileName

the file name, used for location information

input

the trace as line iterator

Attributes

Returns

the resulting trace of parsed events

def parseTrace(input: Iterator[String], fileName: String): Iterator[Event]

Parse a trace in the standard format

Parse a trace in the standard format

Value parameters

fileName

the file name, used for location information

input

the trace as line iterator

Attributes

Returns

the resulting trace of parsed events