LLVM OpenMP 20.0.0git
Classes | Functions | Variables
message-converter Namespace Reference

Classes

class  Message
 
class  MessageData
 
class  ParseMessageDataError
 
class  TargetPlatform
 

Functions

def parse_error (filename, line, msg)
 
def display_language_id (inputFile)
 
def insert_header (f, data, commentChar="//")
 
def generate_enum_file (enumFile, prefix, data)
 
def generate_signature_file (signatureFile, data)
 
def generate_default_messages_file (defaultFile, prefix, data)
 
def generate_message_file_unix (messageFile, data)
 
def generate_message_file_windows (messageFile, data)
 
def main ()
 

Variables

 try :
 

Function Documentation

◆ display_language_id()

def message-converter.display_language_id (   inputFile)
Quickly parse file for LangId and print it

Definition at line 61 of file message-converter.py.

Referenced by main().

◆ generate_default_messages_file()

def message-converter.generate_default_messages_file (   defaultFile,
  prefix,
  data 
)
Create the include file with message strings organized

Definition at line 260 of file message-converter.py.

References insert_header().

Referenced by main().

◆ generate_enum_file()

def message-converter.generate_enum_file (   enumFile,
  prefix,
  data 
)
Create the include file with message enums

Definition at line 200 of file message-converter.py.

References insert_header().

Referenced by main().

◆ generate_message_file_unix()

def message-converter.generate_message_file_unix (   messageFile,
  data 
)
Create the message file for Unix OSes

Encoding is in UTF-8

Definition at line 312 of file message-converter.py.

References insert_header().

Referenced by main().

◆ generate_message_file_windows()

def message-converter.generate_message_file_windows (   messageFile,
  data 
)
Create the message file for Windows OS

Encoding is in UTF-16LE

Definition at line 336 of file message-converter.py.

References insert_header().

Referenced by main().

◆ generate_signature_file()

def message-converter.generate_signature_file (   signatureFile,
  data 
)
Create the signature file

Definition at line 236 of file message-converter.py.

Referenced by main().

◆ insert_header()

def message-converter.insert_header (   f,
  data,
  commentChar = "//" 
)

◆ main()

def message-converter.main ( void  )

◆ parse_error()

def message-converter.parse_error (   filename,
  line,
  msg 
)

Definition at line 57 of file message-converter.py.

Referenced by message-converter.MessageData.create().

Variable Documentation

◆ try

message-converter.try :

Definition at line 423 of file message-converter.py.