Flutter Engine
Loading...
Searching...
No Matches
comments_util.h
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
#ifndef FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
6
#define FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
7
8
#include <string>
9
10
/// @brief Helper functions for the generated comments lexer.
11
class
CommentsUtil
{
12
public
:
13
static
void
AddTrimLine
(std::string* buffer,
const
char
*
text
,
size_t
length
);
14
static
void
AddCTrimLine
(std::string* buffer,
15
const
char
*
text
,
16
size_t
length
);
17
static
void
AddCEndTrimLine
(std::string* buffer,
18
const
char
*
text
,
19
size_t
length
);
20
};
21
22
#endif
// FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
CommentsUtil
Helper functions for the generated comments lexer.
Definition
comments_util.h:11
CommentsUtil::AddCEndTrimLine
static void AddCEndTrimLine(std::string *buffer, const char *text, size_t length)
Definition
comments_util.cc:31
CommentsUtil::AddCTrimLine
static void AddCTrimLine(std::string *buffer, const char *text, size_t length)
Definition
comments_util.cc:21
CommentsUtil::AddTrimLine
static void AddTrimLine(std::string *buffer, const char *text, size_t length)
Definition
comments_util.cc:13
length
size_t length
Definition
key_event_handler.cc:41
text
std::u16string text
Definition
keyboard_unittests.cc:332
tools
licenses_cpp
src
comments_util.h
Generated on Thu Nov 6 2025 16:11:30 for Flutter Engine by
1.9.8