Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::lang::StlParser Class Reference

Parses STL types and queries out of a list of tokens. More...

#include <stl_parser.h>

Classes

struct  ParseError

Public Member Functions

 StlParser (const StlTokenList &tokens)
 Stores the tokens for eventual parsing.
std::vector< StlStatementparse ()
 Parse the tokens given in the constructor into a set of statements.
QueryStatement parseQuery ()
 Parse the tokens as a query statement.

Detailed Description

Parses STL types and queries out of a list of tokens.

Constructor & Destructor Documentation

◆ StlParser()

sen::lang::StlParser::StlParser ( const StlTokenList & tokens)
explicit

Stores the tokens for eventual parsing.

Member Function Documentation

◆ parse()

std::vector< StlStatement > sen::lang::StlParser::parse ( )
nodiscard

Parse the tokens given in the constructor into a set of statements.

◆ parseQuery()

QueryStatement sen::lang::StlParser::parseQuery ( )
nodiscard

Parse the tokens as a query statement.


The documentation for this class was generated from the following file: