TraceParser

de.uni_luebeck.isp.tessla.interpreter.TraceParser$

Provides parsing for traces in csv or standard format.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

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

Representation of a parsed event.

Representation of a parsed event.

Attributes

expression

the parsed expression

loc

location information for this event

streamName

the token representing the stream name

timestamp

the parsed timestamp

See also:

EventIterator

TraceExpressionEvaluator for evaluation of expression

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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

Attributes

fileName

the file name, used for location information

input

the trace as line iterator

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

Attributes

fileName

the file name, used for location information

input

the trace as line iterator

Returns:

the resulting trace of parsed events