class ExpressionLiteral

Declaration

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

Description

Class representing an unsigned literal in the AST of an expression.

Declared at: llvm/lib/FileCheck/FileCheckImpl.h:199

Inherits from: ExpressionAST

Member Variables

private llvm::ExpressionValue Value
Actual value of the literal.

Method Overview

  • public template <class T> ExpressionLiteral(llvm::StringRef ExpressionStr, T Val)
  • public Expected<llvm::ExpressionValue> eval() const

Inherited from ExpressionAST:

Methods

template <class T>
ExpressionLiteral(llvm::StringRef ExpressionStr,
                  T Val)

Declared at: llvm/lib/FileCheck/FileCheckImpl.h:206

Templates

T

Parameters

llvm::StringRef ExpressionStr
T Val

Expected<llvm::ExpressionValue> eval() const

Declared at: llvm/lib/FileCheck/FileCheckImpl.h:210

Returns

the literal's value.