Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::CodeVisitor Class Referenceabstract

#include <program_visitor.h>

Inheritance diagram for dart::CodeVisitor:
dart::FunctionVisitor dart::ClassVisitor dart::ValueObject

Public Member Functions

bool IsCodeVisitor () const
 
virtual void VisitFunction (const Function &function)
 
virtual void VisitCode (const Code &code)=0
 
- Public Member Functions inherited from dart::FunctionVisitor
bool IsFunctionVisitor () const
 
virtual void VisitClass (const Class &cls)
 
virtual void VisitFunction (const Function &function)=0
 
- Public Member Functions inherited from dart::ClassVisitor
virtual ~ClassVisitor ()
 
virtual bool IsFunctionVisitor () const
 
const FunctionVisitorAsFunctionVisitor () const
 
FunctionVisitorAsFunctionVisitor ()
 
virtual bool IsCodeVisitor () const
 
const CodeVisitorAsCodeVisitor () const
 
CodeVisitorAsCodeVisitor ()
 
virtual void VisitClass (const Class &cls)=0
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 84 of file program_visitor.h.

Member Function Documentation

◆ IsCodeVisitor()

bool dart::CodeVisitor::IsCodeVisitor ( ) const
inlinevirtual

Reimplemented from dart::ClassVisitor.

Definition at line 86 of file program_visitor.h.

86{ return true; }

◆ VisitCode()

virtual void dart::CodeVisitor::VisitCode ( const Code code)
pure virtual

◆ VisitFunction()

virtual void dart::CodeVisitor::VisitFunction ( const Function function)
inlinevirtual

Implements dart::FunctionVisitor.

Definition at line 87 of file program_visitor.h.

87{}

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