MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::expression::detail::Scope Class Reference

#include <parsing_context.hpp>

Public Member Functions

 Scope (const std::map< std::string, std::shared_ptr< Expression >> &bindings_, std::shared_ptr< Scope > parent_=nullptr)
 
std::optional< std::shared_ptr< Expression > > get (const std::string &name)
 

Public Attributes

const std::map< std::string, std::shared_ptr< Expression > > & bindings
 
std::shared_ptr< Scopeparent
 

Detailed Description

Definition at line 32 of file parsing_context.hpp.

Constructor & Destructor Documentation

◆ Scope()

mbgl::style::expression::detail::Scope::Scope ( const std::map< std::string, std::shared_ptr< Expression >> &  bindings_,
std::shared_ptr< Scope parent_ = nullptr 
)
inline

Definition at line 34 of file parsing_context.hpp.

Member Function Documentation

◆ get()

std::optional<std::shared_ptr<Expression> > mbgl::style::expression::detail::Scope::get ( const std::string &  name)
inline

Definition at line 42 of file parsing_context.hpp.

Member Data Documentation

◆ bindings

const std::map<std::string, std::shared_ptr<Expression> >& mbgl::style::expression::detail::Scope::bindings

Definition at line 39 of file parsing_context.hpp.

◆ parent

std::shared_ptr<Scope> mbgl::style::expression::detail::Scope::parent

Definition at line 40 of file parsing_context.hpp.


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