Spicy
Public Member Functions | List of all members
hilti::Context Class Reference

#include <context.h>

Public Member Functions

 Context (Options options)
 
 ~Context ()
 
const Optionsoptions () const
 
auto * astContext () const
 

Detailed Description

Context storing compiler-wide state

Constructor & Destructor Documentation

◆ Context()

Context::Context ( Options  options)
explicit
Parameters
optionsoptions to use for code compilation

◆ ~Context()

Context::~Context ( )

Destructor.

Member Function Documentation

◆ astContext()

auto* hilti::Context::astContext ( ) const
inline

Returns the global AST context.

◆ options()

const Options& hilti::Context::options ( ) const
inline

Returns the context's compiler options.


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