Project Name: Delgan+loguru
Language: Python
Statement Type: Constant Assignment

Source Code:
def strip(tokens):
        output = ""
        for type_, value in tokens:
            if type_ == TokenType.TEXT:
                output += value
        return output

strip(tokens=[(1, ''), (2, '\x1b[32m'), (1, ''), (1, '{time:YYYY-MM-DD HH:mm:ss.SSS}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (3, None), (1, ''), (1, '{level: <8}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (2, '\x1b[36m'), (1, ''), (1, '{name}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{function}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{line}'), (1, ''), (4, '\x1b[0m'), (1, ' - '), (3, None), (1, ''), (1, '{message}'), (1, ''), (4, '\x1b[0m'), (1, '\n'), (1, '{exception}')])

Selected Statement: output = ""

Function Input:
tokens: [(1, ''), (2, '\x1b[32m'), (1, ''), (1, '{time:YYYY-MM-DD HH:mm:ss.SSS}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (3, None), (1, ''), (1, '{level: <8}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (2, '\x1b[36m'), (1, ''), (1, '{name}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{function}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{line}'), (1, ''), (4, '\x1b[0m'), (1, ' - '), (3, None), (1, ''), (1, '{message}'), (1, ''), (4, '\x1b[0m'), (1, '\n'), (1, '{exception}')]

Variable Values Before Statement:
Constant: ""

Value After Statement Execution: ""

Variable States During Runtime (line, value):
tokens: 1
[(1, ''), (2, '\x1b[32m'), (1, ''), (1, '{time:YYYY-MM-DD HH:mm:ss.SSS}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (3, None), (1, ''), (1, '{level: <8}'), (1, ''), (4, '\x1b[0m'), (1, ' | '), (2, '\x1b[36m'), (1, ''), (1, '{name}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{function}'), (1, ''), (4, '\x1b[0m'), (1, ':'), (2, '\x1b[36m'), (1, ''), (1, '{line}'), (1, ''), (4, '\x1b[0m'), (1, ' - '), (3, None), (1, ''), (1, '{message}'), (1, ''), (4, '\x1b[0m'), (1, '\n'), (1, '{exception}')]
output: 2
''
5
'{time:YYYY-MM-DD HH:mm:ss.SSS}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | '
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | '
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:{line}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:{line} - '
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:{line} - {message}'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:{line} - {message}\n'
5
'{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {name}:{function}:{line} - {message}\n{exception}'
type_: 3
1
3
2
3
1
3
4
3
1
3
3
3
1
3
4
3
1
3
2
3
1
3
4
3
1
3
2
3
1
3
4
3
1
3
2
3
1
3
4
3
1
3
3
3
1
3
4
3
1
value: 3
''
3
'\x1b[32m'
3
''
3
'{time:YYYY-MM-DD HH:mm:ss.SSS}'
3
''
3
'\x1b[0m'
3
' | '
3
None
3
''
3
'{level: <8}'
3
''
3
'\x1b[0m'
3
' | '
3
'\x1b[36m'
3
''
3
'{name}'
3
''
3
'\x1b[0m'
3
':'
3
'\x1b[36m'
3
''
3
'{function}'
3
''
3
'\x1b[0m'
3
':'
3
'\x1b[36m'
3
''
3
'{line}'
3
''
3
'\x1b[0m'
3
' - '
3
None
3
''
3
'{message}'
3
''
3
'\x1b[0m'
3
'\n'
3
'{exception}'