Calc/debug_templates/tokenization_test.json

44 lines
1.1 KiB
JSON

{
"queries": [
{
"index": 0,
"type": "exec",
"content": "engine.parser.process_expression('192.168.1.1 + 16#FF')"
},
{
"index": 1,
"type": "input",
"content": "192.168.1.1 + 16#FF"
},
{
"index": 2,
"type": "exec",
"content": "engine.parser.get_tokenization_info()['rules'][:3]"
},
{
"index": 3,
"type": "input",
"content": "10.0.0.0/8 + 1"
},
{
"index": 4,
"type": "exec",
"content": "engine.parser.get_tokenization_info()"
},
{
"index": 5,
"type": "input",
"content": "x = 192.168.y.z"
},
{
"index": 6,
"type": "exec",
"content": "engine.parser.process_expression('x = 192.168.y.z')"
},
{
"index": 7,
"type": "exec",
"content": "len(engine.parser.tokenizer.tokenization_rules)"
}
]
}