class ExpressionAST

Declaration

class ExpressionAST { /* full declaration omitted */ };

Description

Base class representing the AST of a given expression.

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

Method Overview

Methods

virtual Expected<uint64_t> eval() const

Description

Evaluates and

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

Returns

the value of the expression represented by this AST or an error if evaluation fails.

virtual ~ExpressionAST()

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