Class: Pione::Lang::TicketExpr

Inherits:
Piece
  • Object
show all
Defined in:
lib/pione/lang/ticket-expr.rb

Overview

TicketExpr is a ticket expression as alternative input or output conditions of rules for serial processing.

Examples:

Serial process of rule A and B by tickets in PIONE flow rule

Rule Main
  input '*.in'
  output '*.out'
Flow
  rule A ==> <T>
  <T> ==> rule B
End

Instance Method Summary collapse

Methods inherited from Piece

#eval, piece_type_name

Methods included from Util::Positionable

#line_and_column, #pos, #set_source_position

Instance Method Details

#textizeObject

Convert to text string.



19
20
21
# File 'lib/pione/lang/ticket-expr.rb', line 19

def textize
  "<%s>" % name
end