Log Surgeon
Test & API docs
Loading...
Searching...
No Matches
test-schema.cpp File Reference
#include <string>
#include <string_view>
#include <log_surgeon/finite_automata/RegexAST.hpp>
#include <log_surgeon/Schema.hpp>
#include <log_surgeon/SchemaParser.hpp>
#include <catch2/catch_test_macros.hpp>
#include <fmt/core.h>

Typedefs

using RegexASTCatByte = log_surgeon::finite_automata::RegexASTCat<log_surgeon::finite_automata::ByteNfaState>
using RegexASTCaptureByte = log_surgeon::finite_automata::RegexASTCapture<log_surgeon::finite_automata::ByteNfaState>
using RegexASTGroupByte = log_surgeon::finite_automata::RegexASTGroup<log_surgeon::finite_automata::ByteNfaState>
using RegexASTLiteralByte = log_surgeon::finite_automata::RegexASTLiteral<log_surgeon::finite_automata::ByteNfaState>
using RegexASTMultiplicationByte

Functions

void add_number_var ()
 Create a schema, adding a number variable to a schema.
void add_capture_var ()
 Create a schema, adding a variable with a capture group.
void add_invalid_delims ()
 Create a schema, adding different invalid delimiter strings.
void add_invalid_vars ()
 Create a schema, adding different invalid variables.
void add_invalid_var_priorities ()
 Create a schema, adding different invalid variable priorities.

Typedef Documentation

◆ RegexASTCaptureByte

using RegexASTCaptureByte = log_surgeon::finite_automata::RegexASTCapture<log_surgeon::finite_automata::ByteNfaState>

◆ RegexASTCatByte

using RegexASTCatByte = log_surgeon::finite_automata::RegexASTCat<log_surgeon::finite_automata::ByteNfaState>

◆ RegexASTGroupByte

using RegexASTGroupByte = log_surgeon::finite_automata::RegexASTGroup<log_surgeon::finite_automata::ByteNfaState>

◆ RegexASTLiteralByte

using RegexASTLiteralByte = log_surgeon::finite_automata::RegexASTLiteral<log_surgeon::finite_automata::ByteNfaState>

◆ RegexASTMultiplicationByte

Initial value:
log_surgeon::finite_automata::RegexASTMultiplication<
log_surgeon::finite_automata::ByteNfaState>