Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkSL::ProgramWriter Class Reference

#include <SkSLProgramWriter.h>

Inheritance diagram for SkSL::ProgramWriter:
SkSL::TProgramVisitor< ProgramWriterTypes >

Public Member Functions

bool visitExpressionPtr (std::unique_ptr< Expression > &e) override
 
bool visitStatementPtr (std::unique_ptr< Statement > &s) override
 
- Public Member Functions inherited from SkSL::TProgramVisitor< ProgramWriterTypes >
virtual ~TProgramVisitor ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from SkSL::TProgramVisitor< ProgramWriterTypes >
virtual bool visitExpression (typename T::Expression &expression)
 
virtual bool visitStatement (typename T::Statement &statement)
 
virtual bool visitProgramElement (typename T::ProgramElement &programElement)
 
virtual bool visitExpressionPtr (typename T::UniquePtrExpression &expr)=0
 
virtual bool visitStatementPtr (typename T::UniquePtrStatement &stmt)=0
 

Detailed Description

Definition at line 26 of file SkSLProgramWriter.h.

Member Function Documentation

◆ visitExpressionPtr()

bool SkSL::ProgramWriter::visitExpressionPtr ( std::unique_ptr< Expression > &  e)
inlineoverride

Definition at line 30 of file SkSLProgramWriter.h.

30 {
31 return this->visitExpression(*e);
32 }
virtual bool visitExpression(typename T::Expression &expression)

◆ visitStatementPtr()

bool SkSL::ProgramWriter::visitStatementPtr ( std::unique_ptr< Statement > &  s)
inlineoverride

Definition at line 33 of file SkSLProgramWriter.h.

33 {
34 return this->visitStatement(*s);
35 }
virtual bool visitStatement(typename T::Statement &statement)
struct MyStruct s

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