shift early_dfa construction earlier

This commit is contained in:
Alex Coyte
2016-12-01 16:10:34 +11:00
committed by Matthew Barr
parent caa46201f0
commit 512c049493
11 changed files with 171 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2016, Intel Corporation
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -55,6 +55,7 @@ namespace ue2 {
class NGHolder;
struct raw_som_dfa;
struct raw_dfa;
enum RoseInVertexType {
RIV_LITERAL,
@@ -166,9 +167,12 @@ struct RoseInEdgeProps {
/** \brief Maximum bound on 'dot' repeat between literals. */
u32 maxBound;
/** \brief Prefix graph. Graph is end to (end - lag). */
/** \brief Graph on edge. Graph is end to (end - lag). */
std::shared_ptr<NGHolder> graph;
/** \brief DFA version of graph, if we have already determinised. */
std::shared_ptr<raw_dfa> dfa;
/** \brief Haig version of graph, if required. */
std::shared_ptr<raw_som_dfa> haig;