Functions | Variables
make_unicode_groups Namespace Reference

Functions

def main ()
 
def MakeRanges (codes)
 
def PrintGroup (name, codes)
 
def PrintRanges (type, name, ranges)
 

Variables

string _header
 
string _trailer
 
int n16 = 0
 
int n32 = 0
 

Function Documentation

◆ main()

def make_unicode_groups.main ( )

◆ MakeRanges()

def make_unicode_groups.MakeRanges (   codes)
Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]

Definition at line 34 of file bloaty/third_party/re2/re2/make_unicode_groups.py.

◆ PrintGroup()

def make_unicode_groups.PrintGroup (   name,
  codes 
)
Print the data structures for the group of codes.
Return a UGroup literal for the group.

Definition at line 60 of file bloaty/third_party/re2/re2/make_unicode_groups.py.

◆ PrintRanges()

def make_unicode_groups.PrintRanges (   type,
  name,
  ranges 
)
Print the ranges as an array of type named name.

Definition at line 46 of file bloaty/third_party/re2/re2/make_unicode_groups.py.

Variable Documentation

◆ _header

string make_unicode_groups._header
private
Initial value:
1 = """
2 // GENERATED BY make_unicode_groups.py; DO NOT EDIT.
3 // make_unicode_groups.py >unicode_groups.cc
4 
5 #include "re2/unicode_groups.h"
6 
7 namespace re2 {
8 
9 """

Definition at line 15 of file bloaty/third_party/re2/re2/make_unicode_groups.py.

◆ _trailer

string make_unicode_groups._trailer
private
Initial value:
1 = """
2 
3 } // namespace re2
4 
5 """

Definition at line 25 of file bloaty/third_party/re2/re2/make_unicode_groups.py.

◆ n16

int make_unicode_groups.n16 = 0

◆ n32

int make_unicode_groups.n32 = 0


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41