class NumericVariableUse

Declaration

class NumericVariableUse : public ExpressionAST { /* full declaration omitted */ };

Description

Class representing the use of a numeric variable in the AST of an expression.

Declared at: llvm/lib/Support/FileCheckImpl.h:122

Inherits from: ExpressionAST

Method Overview

  • public NumericVariableUse(llvm::StringRef Name, llvm::NumericVariable * Variable)
  • public Expected<uint64_t> eval() const

Inherited from ExpressionAST:

Methods

NumericVariableUse(
    llvm::StringRef Name,
    llvm::NumericVariable* Variable)

Declared at: llvm/lib/Support/FileCheckImpl.h:131

Parameters

llvm::StringRef Name
llvm::NumericVariable* Variable

Expected<uint64_t> eval() const

Declared at: llvm/lib/Support/FileCheckImpl.h:135

Returns

the value of the variable referenced by this instance.