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

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

#include "Support/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. More...
 
ExpressionASTgetAST () const
 
ExpressionFormat getFormat () const
 

Detailed Description

Class representing an expression and its matching format.

Definition at line 230 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 241 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 246 of file FileCheckImpl.h.

◆ getFormat()

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

Definition at line 248 of file FileCheckImpl.h.

References llvm::Format.


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