cmEngine  0.1.1
A library for interpreting CMake code.
Data Fields
cmFunctionContext Struct Reference

Data Fields

struct cmHosthost
 
struct cmArgumentListoriginal_arguments
 
struct cmArgumentListevaluated_arguments
 
size_t argument_index
 
const char * filename
 
struct cmPosition position
 
struct cmExpansionEvaluatorevaluator
 
struct cmSymbolTablevariable_table
 
struct cmQueryHandler query_handler
 
struct cmStringView tmp_string_view
 
struct cmCachecache
 

Detailed Description

This structure holds the data for function context. It is used as a proxy from the interpreter to commands.

Examples:
echoCommand.c.

Field Documentation

§ argument_index

size_t cmFunctionContext::argument_index

The index of the argument that the function call is currently at.

§ cache

struct cmCache* cmFunctionContext::cache

A pointer to the cache.

§ evaluated_arguments

struct cmArgumentList* cmFunctionContext::evaluated_arguments

The evaluated argument list.

§ evaluator

struct cmExpansionEvaluator* cmFunctionContext::evaluator

Used for evaluating arguments.

§ filename

const char* cmFunctionContext::filename

The name of the file containing the function call.

§ host

struct cmHost* cmFunctionContext::host

A pointer to the host interface.

§ original_arguments

struct cmArgumentList* cmFunctionContext::original_arguments

The argument list before it gets evaluated.

§ position

struct cmPosition cmFunctionContext::position

The position of the function call.

§ query_handler

struct cmQueryHandler cmFunctionContext::query_handler

The interface that the expansion evalauator uses to resolve variable references from the function context.

§ tmp_string_view

struct cmStringView cmFunctionContext::tmp_string_view

A temporary string view, used to evaluate variable values.

§ variable_table

struct cmSymbolTable* cmFunctionContext::variable_table

The variable table.


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