File: fpattern3.cc

package info (click to toggle)
flexc%2B%2B 2.17.01-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,180 kB
  • sloc: cpp: 6,467; makefile: 148; sh: 130; ansic: 18
file content (10 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include "fpattern.ih"

// This is a fixed-sized tail.

FPattern::FPattern(States &states, size_t tailLength,
                    FPattern const &lopLhs, FPattern const &lopRhs)
:
    d_lopData(new LopData {tailLength, 0} ),    
    d_pair(concatenate(states, lopLhs, lopRhs).pair())
{}