LLVM 22.0.0git
Public Member Functions | List of all members
llvm::Expression Class Reference

Class representing an expression and its matching format. More...

#include "FileCheck/FileCheckImpl.h"

Public Member Functions

 Expression (std::unique_ptr< ExpressionAST > AST, ExpressionFormat Format)
 Generic constructor for an expression represented by the given AST and whose matching format is Format.
 
ExpressionASTgetAST () const
 
ExpressionFormat getFormat () const
 

Detailed Description

Class representing an expression and its matching format.

Definition at line 195 of file FileCheckImpl.h.

Constructor & Destructor Documentation

◆ Expression()

llvm::Expression::Expression ( std::unique_ptr< ExpressionAST AST,
ExpressionFormat  Format 
)
inline

Generic constructor for an expression represented by the given AST and whose matching format is Format.

Definition at line 206 of file FileCheckImpl.h.

Member Function Documentation

◆ getAST()

ExpressionAST * llvm::Expression::getAST ( ) const
inline
Returns
pointer to AST of the expression. Pointer is guaranteed to be valid as long as this object is.

Definition at line 211 of file FileCheckImpl.h.

Referenced by llvm::FileCheckPatternContext::defineCmdlineVariables().

◆ getFormat()

ExpressionFormat llvm::Expression::getFormat ( ) const
inline

Definition at line 213 of file FileCheckImpl.h.


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