Functions | Variables
change-comments Namespace Reference

Functions

def content (line)
 
def flush_output ()
 
def format_as_block (comment_block)
 
def indentation_of (line)
 
def is_comment (line)
 
def isnt_comment (line)
 
def more_input_available ()
 
def next_line (predicate)
 
def peek ()
 
def read_line ()
 
def write (line)
 

Variables

list comment_block = []
 
string comment_regex = r'^(\s*)//\s(.*)$'
 
 lines = input_file.readlines()
 
list output_lines = []
 

Function Documentation

◆ content()

def change-comments.content (   line)

Definition at line 74 of file change-comments.py.

◆ flush_output()

def change-comments.flush_output ( )

Definition at line 50 of file change-comments.py.

◆ format_as_block()

def change-comments.format_as_block (   comment_block)

Definition at line 78 of file change-comments.py.

◆ indentation_of()

def change-comments.indentation_of (   line)

Definition at line 70 of file change-comments.py.

◆ is_comment()

def change-comments.is_comment (   line)

Definition at line 59 of file change-comments.py.

◆ isnt_comment()

def change-comments.isnt_comment (   line)

Definition at line 62 of file change-comments.py.

◆ more_input_available()

def change-comments.more_input_available ( )

Definition at line 40 of file change-comments.py.

◆ next_line()

def change-comments.next_line (   predicate)

Definition at line 65 of file change-comments.py.

◆ peek()

def change-comments.peek ( )

Definition at line 34 of file change-comments.py.

◆ read_line()

def change-comments.read_line ( )

Definition at line 37 of file change-comments.py.

◆ write()

def change-comments.write (   line)

Definition at line 47 of file change-comments.py.

Variable Documentation

◆ comment_block

list change-comments.comment_block = []

Definition at line 97 of file change-comments.py.

◆ comment_regex

string change-comments.comment_regex = r'^(\s*)//\s(.*)$'

Definition at line 57 of file change-comments.py.

◆ lines

change-comments.lines = input_file.readlines()

Definition at line 32 of file change-comments.py.

◆ output_lines

list change-comments.output_lines = []

Definition at line 45 of file change-comments.py.



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