| Package | Description |
|---|---|
| me.jaimegarza.syntax.model.graph | |
| me.jaimegarza.syntax.util |
| Modifier and Type | Method and Description |
|---|---|
void |
Dfa.generateFromNfa(Nfa graph)
Generate a DFA out of a NFA.
|
| Constructor and Description |
|---|
NfaNode(Nfa graph)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Construct |
NfaUtil.alternate(Nfa graph,
Construct a,
Construct b)
constructs a nfa for an alternation (A | B)
|
static Construct |
NfaUtil.any(Nfa graph)
constructs a nfa for any character
|
static Construct |
NfaUtil.character(Nfa graph,
char c)
constructs a nfa for a character
|
static Construct |
NfaUtil.characterClass(Nfa graph,
CharacterClass cc)
constructs a nfa for a character class
|
static Construct |
NfaUtil.concatenate(Nfa graph,
Construct from,
Construct to)
constructs a nfa for a concatenation (A B)
|
static Dfa |
NfaUtil.finalize(Nfa graph,
String regex,
Construct c)
Create a new dfa out of a nfa
|
static Construct |
NfaUtil.oneOrMany(Nfa graph,
Construct a)
constructs a nfa for an one to many (A+)
|
static Construct |
NfaUtil.optional(Nfa graph,
Construct a)
constructs a nfa for an option (A?)
|
static Construct |
NfaUtil.zeroOrMany(Nfa graph,
Construct a)
constructs a nfa for a zero to many (A*)
|
Copyright © 2017. All rights reserved.