Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Generator-dependent parser.
| Name | parser |
| Type | struct |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Parser/VerseGrammar.h |
| Include Path | #include "uLang/Parser/VerseGrammar.h" |
Syntax
template<class gen_t>
struct parser : public Verse::Grammar::parser_base
Inheritance Hierarchy
- parser_base → parser
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
parser
(
const gen_t& Gen0, |
uLang/Parser/VerseGrammar.h |
Structs
| Name | Remarks |
|---|---|
| block_t | Our extended internal block structure tracking block's trailing captures. |
| call | Macro invocations and constructs that lead with same syntax like '(', '<', 'with'. |
| expr | We track a stack of expressions and postfixes at increasing precedence so that we can insert multi-precedence postfix operators like '<' and stop subsequent parsing there. |
| ins | Expressions. |
| invoke | |
| trailing | Tracking trailing captures across expressions and their postfixes so we can assign them to the lexically outermost generator. |
| when_expr |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| capture_t | typename gen_t::capture_t | uLang/Parser/VerseGrammar.h | |
| error_t | typename gen_t::error_t | uLang/Parser/VerseGrammar.h | |
| result_t | result< t, error_t > | uLang/Parser/VerseGrammar.h | |
| syntax_t | typename gen_t::syntax_t | uLang/Parser/VerseGrammar.h | |
| syntaxes_t | typename gen_t::syntaxes_t | uLang/Parser/VerseGrammar.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Gen | const gen_t & | Constructor. | uLang/Parser/VerseGrammar.h |