Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
compiler
source_options.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "
impeller/compiler/source_options.h
"
6
7
namespace
impeller
{
8
namespace
compiler
{
9
10
SourceOptions::SourceOptions
() =
default
;
11
12
SourceOptions::SourceOptions
(
const
std::string& file_name,
13
SourceType
source_type)
14
:
type
(source_type ==
SourceType
::
kUnknown
15
?
SourceTypeFromFileName
(file_name)
16
: source_type),
17
file_name(file_name) {}
18
19
SourceOptions::~SourceOptions
() =
default
;
20
21
}
// namespace compiler
22
}
// namespace impeller
type
uint8_t type
Definition
fl_standard_message_codec_test.cc:1115
compiler
Definition
compiler.py:1
impeller::compiler::SourceType
SourceType
Definition
types.h:22
impeller::compiler::SourceType::kUnknown
@ kUnknown
impeller::compiler::SourceTypeFromFileName
SourceType SourceTypeFromFileName(const std::string &file_name)
Definition
types.cc:30
impeller
Definition
texture.h:18
source_options.h
impeller::compiler::SourceOptions::SourceOptions
SourceOptions()
impeller::compiler::SourceOptions::~SourceOptions
~SourceOptions()
Generated on Fri Apr 26 2024 06:14:08 for Flutter Engine by
1.9.8