Version 1.0
Copyright © 2022 Lowell D. Thomas
Python APG
 … an ABNF Parser Generator
Functions
apg_py.api.semantic_callbacks Namespace Reference

Functions

def add_ast_callbacks (ast)
 
def decnum (chars, beg, len)
 
def binnum (chars, beg, len)
 
def hexnum (chars, beg, len)
 
def semantic_file (state, input, phrase_index, phrase_length, data)
 
def semantic_rule_lookup (state, input, phrase_index, phrase_length, data)
 
def semantic_rule (state, input, phrase_index, phrase_length, data)
 
def semantic_rule_name (state, input, phrase_index, phrase_length, data)
 
def semantic_defined (state, input, phrase_index, phrase_length, data)
 
def semantic_inc_alt (state, input, phrase_index, phrase_length, data)
 
def semantic_alternation (state, input, phrase_index, phrase_length, data)
 
def semantic_concatenation (state, input, phrase_index, phrase_length, data)
 
def semantic_repetition (state, input, phrase_index, phrase_length, data)
 
def semantic_option_open (state, input, phrase_index, phrase_length, data)
 
def semantic_rep_op (state, input, phrase_index, phrase_length, data)
 
def semantic_rep_min (state, input, phrase_index, phrase_length, data)
 
def semantic_rep_max (state, input, phrase_index, phrase_length, data)
 
def semantic_rep_min_max (state, input, phrase_index, phrase_length, data)
 
def semantic_and_op (state, input, phrase_index, phrase_length, data)
 
def semantic_not_op (state, input, phrase_index, phrase_length, data)
 
def semantic_rnm_op (state, input, phrase_index, phrase_length, data)
 
def semantic_abg_op (state, input, phrase_index, phrase_length, data)
 
def semantic_aen_op (state, input, phrase_index, phrase_length, data)
 
def semantic_bka_op (state, input, phrase_index, phrase_length, data)
 
def semantic_bkn_op (state, input, phrase_index, phrase_length, data)
 
def semantic_ci (state, input, phrase_index, phrase_length, data)
 
def semantic_cs (state, input, phrase_index, phrase_length, data)
 
def semantic_um (state, input, phrase_index, phrase_length, data)
 
def semantic_rm (state, input, phrase_index, phrase_length, data)
 
def semantic_bkr_name (state, input, phrase_index, phrase_length, data)
 
def semantic_bkr_op (state, input, phrase_index, phrase_length, data)
 
def generic_udt (input, phrase_index, phrase_length, data, empty=False)
 
def semantic_udt_empty (state, input, phrase_index, phrase_length, data)
 
def semantic_udt_non_empty (state, input, phrase_index, phrase_length, data)
 
def semantic_tls_op (state, input, phrase_index, phrase_length, data)
 
def semantic_tls_string (state, input, phrase_index, phrase_length, data)
 
def semantic_cls_string (state, input, phrase_index, phrase_length, data)
 
def semantic_tbs_op (state, input, phrase_index, phrase_length, data)
 
def semantic_d_string (state, input, phrase_index, phrase_length, data)
 
def semantic_b_string (state, input, phrase_index, phrase_length, data)
 
def semantic_x_string (state, input, phrase_index, phrase_length, data)
 
def semantic_trg_op (state, input, phrase_index, phrase_length, data)
 
def semantic_dmin (state, input, phrase_index, phrase_length, data)
 
def semantic_dmax (state, input, phrase_index, phrase_length, data)
 
def semantic_bmin (state, input, phrase_index, phrase_length, data)
 
def semantic_bmax (state, input, phrase_index, phrase_length, data)
 
def semantic_xmin (state, input, phrase_index, phrase_length, data)
 
def semantic_xmax (state, input, phrase_index, phrase_length, data)
 

Function Documentation

◆ add_ast_callbacks()

def apg_py.api.semantic_callbacks.add_ast_callbacks (   ast)

Definition at line 9 of file semantic_callbacks.py.

◆ binnum()

def apg_py.api.semantic_callbacks.binnum (   chars,
  beg,
  len 
)

Definition at line 62 of file semantic_callbacks.py.

◆ decnum()

def apg_py.api.semantic_callbacks.decnum (   chars,
  beg,
  len 
)

Definition at line 55 of file semantic_callbacks.py.

◆ generic_udt()

def apg_py.api.semantic_callbacks.generic_udt (   input,
  phrase_index,
  phrase_length,
  data,
  empty = False 
)

Definition at line 434 of file semantic_callbacks.py.

◆ hexnum()

def apg_py.api.semantic_callbacks.hexnum (   chars,
  beg,
  len 
)

Definition at line 69 of file semantic_callbacks.py.

◆ semantic_abg_op()

def apg_py.api.semantic_callbacks.semantic_abg_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 354 of file semantic_callbacks.py.

◆ semantic_aen_op()

def apg_py.api.semantic_callbacks.semantic_aen_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 360 of file semantic_callbacks.py.

◆ semantic_alternation()

def apg_py.api.semantic_callbacks.semantic_alternation (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 223 of file semantic_callbacks.py.

◆ semantic_and_op()

def apg_py.api.semantic_callbacks.semantic_and_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 330 of file semantic_callbacks.py.

◆ semantic_b_string()

def apg_py.api.semantic_callbacks.semantic_b_string (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 543 of file semantic_callbacks.py.

◆ semantic_bka_op()

def apg_py.api.semantic_callbacks.semantic_bka_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 366 of file semantic_callbacks.py.

◆ semantic_bkn_op()

def apg_py.api.semantic_callbacks.semantic_bkn_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 372 of file semantic_callbacks.py.

◆ semantic_bkr_name()

def apg_py.api.semantic_callbacks.semantic_bkr_name (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 404 of file semantic_callbacks.py.

◆ semantic_bkr_op()

def apg_py.api.semantic_callbacks.semantic_bkr_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 413 of file semantic_callbacks.py.

◆ semantic_bmax()

def apg_py.api.semantic_callbacks.semantic_bmax (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 593 of file semantic_callbacks.py.

◆ semantic_bmin()

def apg_py.api.semantic_callbacks.semantic_bmin (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 587 of file semantic_callbacks.py.

◆ semantic_ci()

def apg_py.api.semantic_callbacks.semantic_ci (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 378 of file semantic_callbacks.py.

◆ semantic_cls_string()

def apg_py.api.semantic_callbacks.semantic_cls_string (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 508 of file semantic_callbacks.py.

◆ semantic_concatenation()

def apg_py.api.semantic_callbacks.semantic_concatenation (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 261 of file semantic_callbacks.py.

◆ semantic_cs()

def apg_py.api.semantic_callbacks.semantic_cs (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 385 of file semantic_callbacks.py.

◆ semantic_d_string()

def apg_py.api.semantic_callbacks.semantic_d_string (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 537 of file semantic_callbacks.py.

◆ semantic_defined()

def apg_py.api.semantic_callbacks.semantic_defined (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 211 of file semantic_callbacks.py.

◆ semantic_dmax()

def apg_py.api.semantic_callbacks.semantic_dmax (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 581 of file semantic_callbacks.py.

◆ semantic_dmin()

def apg_py.api.semantic_callbacks.semantic_dmin (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 575 of file semantic_callbacks.py.

◆ semantic_file()

def apg_py.api.semantic_callbacks.semantic_file (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 86 of file semantic_callbacks.py.

◆ semantic_inc_alt()

def apg_py.api.semantic_callbacks.semantic_inc_alt (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 217 of file semantic_callbacks.py.

◆ semantic_not_op()

def apg_py.api.semantic_callbacks.semantic_not_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 336 of file semantic_callbacks.py.

◆ semantic_option_open()

def apg_py.api.semantic_callbacks.semantic_option_open (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 280 of file semantic_callbacks.py.

◆ semantic_rep_max()

def apg_py.api.semantic_callbacks.semantic_rep_max (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 317 of file semantic_callbacks.py.

◆ semantic_rep_min()

def apg_py.api.semantic_callbacks.semantic_rep_min (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 311 of file semantic_callbacks.py.

◆ semantic_rep_min_max()

def apg_py.api.semantic_callbacks.semantic_rep_min_max (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 323 of file semantic_callbacks.py.

◆ semantic_rep_op()

def apg_py.api.semantic_callbacks.semantic_rep_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 287 of file semantic_callbacks.py.

◆ semantic_repetition()

def apg_py.api.semantic_callbacks.semantic_repetition (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 273 of file semantic_callbacks.py.

◆ semantic_rm()

def apg_py.api.semantic_callbacks.semantic_rm (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 398 of file semantic_callbacks.py.

◆ semantic_rnm_op()

def apg_py.api.semantic_callbacks.semantic_rnm_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 342 of file semantic_callbacks.py.

◆ semantic_rule()

def apg_py.api.semantic_callbacks.semantic_rule (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 197 of file semantic_callbacks.py.

◆ semantic_rule_lookup()

def apg_py.api.semantic_callbacks.semantic_rule_lookup (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 160 of file semantic_callbacks.py.

◆ semantic_rule_name()

def apg_py.api.semantic_callbacks.semantic_rule_name (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 204 of file semantic_callbacks.py.

◆ semantic_tbs_op()

def apg_py.api.semantic_callbacks.semantic_tbs_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 526 of file semantic_callbacks.py.

◆ semantic_tls_op()

def apg_py.api.semantic_callbacks.semantic_tls_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 481 of file semantic_callbacks.py.

◆ semantic_tls_string()

def apg_py.api.semantic_callbacks.semantic_tls_string (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 488 of file semantic_callbacks.py.

◆ semantic_trg_op()

def apg_py.api.semantic_callbacks.semantic_trg_op (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 555 of file semantic_callbacks.py.

◆ semantic_udt_empty()

def apg_py.api.semantic_callbacks.semantic_udt_empty (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 459 of file semantic_callbacks.py.

◆ semantic_udt_non_empty()

def apg_py.api.semantic_callbacks.semantic_udt_non_empty (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 470 of file semantic_callbacks.py.

◆ semantic_um()

def apg_py.api.semantic_callbacks.semantic_um (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 392 of file semantic_callbacks.py.

◆ semantic_x_string()

def apg_py.api.semantic_callbacks.semantic_x_string (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 549 of file semantic_callbacks.py.

◆ semantic_xmax()

def apg_py.api.semantic_callbacks.semantic_xmax (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 605 of file semantic_callbacks.py.

◆ semantic_xmin()

def apg_py.api.semantic_callbacks.semantic_xmin (   state,
  input,
  phrase_index,
  phrase_length,
  data 
)

Definition at line 599 of file semantic_callbacks.py.

Python APG, Version 1.0, is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.