17 #ifndef COM_BORA_SOFTWARE__BALAU_LANG_PROPERTY_PARSER__PROPERTY_PARSER 18 #define COM_BORA_SOFTWARE__BALAU_LANG_PROPERTY_PARSER__PROPERTY_PARSER 40 : scannedTokens(
std::move(scannedTokens_)) {}
49 private: std::vector<std::unique_ptr<AST::PropertyNode>> producePropertyNodes(
PropertyToken endToken);
50 private: std::unique_ptr<AST::PropertyNode> produceProperty();
51 private: std::unique_ptr<AST::PropertyNode> produceSimple(std::string_view key);
52 private: std::unique_ptr<AST::PropertyNode> produceComplex(std::string_view key);
53 private: std::unique_ptr<AST::PropertyNode> produceInclude();
54 private: std::unique_ptr<AST::PropertyNode> produceComment();
55 private: std::unique_ptr<AST::PropertyNode> produceEmptyLine();
62 #endif // COM_BORA_SOFTWARE__BALAU_LANG_PROPERTY_PARSER__PROPERTY_PARSER A recursive descent property language parser.
Definition: PropertyParser.hpp:32
The Property parser AST node classes.
AST::Properties parse()
Parse the input provided by the scanner to produce a property data object.
PropertyParser(ScannerApiScannedTokens &&scannedTokens_)
Create a property parser which will parse the input provided by the scanner.
Definition: PropertyParser.hpp:39
PropertyToken
Property language tokens.
Definition: PropertyToken.hpp:29
Represents a single scanned token in the data structure.
Definition: ScannedTokens.hpp:434
A scanner for the property parser.
The outer structure.
Definition: PropertyAst.hpp:175