C# Class Microsoft.Automata.Internal.Utilities.CppCodeGenerator

Mostrar archivo Open project: AutomataDotNet/Automata

Private Properties

Property Type Description
GenerateTransitionsFor string
Generate_IsMatch string
Generate_IsMatchByIndex string

Public Methods

Method Description
CppCodeGenerator ( CharSetSolver solver, string classname, string namespacename, bool exportIsMatch, bool optimzeForAsciiInput ) : System
GenerateMatcher ( ) : string
GenerateMatcherToFile ( string filename ) : void
Regex2Automaton ( CharSetSolver solver, Regex regex ) : Automaton

Private Methods

Method Description
GenerateTransitionsFor ( int i ) : string
Generate_IsMatch ( int index ) : string
Generate_IsMatchByIndex ( ) : string

Method Details

CppCodeGenerator() public method

public CppCodeGenerator ( CharSetSolver solver, string classname, string namespacename, bool exportIsMatch, bool optimzeForAsciiInput ) : System
solver CharSetSolver
classname string
namespacename string
exportIsMatch bool
optimzeForAsciiInput bool
return System

GenerateMatcher() public method

public GenerateMatcher ( ) : string
return string

GenerateMatcherToFile() public method

public GenerateMatcherToFile ( string filename ) : void
filename string
return void

Regex2Automaton() public static method

public static Regex2Automaton ( CharSetSolver solver, Regex regex ) : Automaton
solver CharSetSolver
regex System.Text.RegularExpressions.Regex
return Automaton