|
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM. |
STADF
Control Block Contents
STADF DSECT
Cross Reference (Contains links to field and bit definitions)
STADF Prolog
Name : HCPSTADF
Description: Syntax state definition area
DSECT : STADF
Function : The STADF contains information that describes a state
that the syntax checking is in. It indicates whether
a token match is optional or not. STADF is used in
conjunction with CONDF and TOKDF to define a syntax
tree.
Created by : invocation of the HCPDOSYN macro.
References : None
Comments : Note that STADF entries are unaligned.
This requires that all of the DSs that would normally
enforce alignment (like A and F) must specify an
explicit length attribute in order to skip alignment.
STADF Control Block Content
STADF DSECT
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure STADF Syntax state definition area 0000 0 Signed 2 STATKNUM Number of TOKDFs under this STADF 0002 2 Bitstring 1 STADFLAG Flag to mark conversion type 1... .... STADFOPT X'80' Token match is optional .1.. .... STADTERM X'40' No STADFs follow this one ..1. .... STADVEND X'20' This is a valid end state ...1 .... STADONEM X'10' At least one match required 0003 3 Bitstring 1 * Spare byte 0004 4 Signed 2 STADFNXT Transition to next state (offset) 0006 6 Signed 2 STADFNUM State # (for syntax chkr) 0008 8 Signed 4 STAMSSNG Message if token is missing 000C 12 Character 1 STA$END (0) The end 0000000C STADFLEN *-STADF Length of STADF entry
STADF Storage Layout
*** STADF - Syntax state definition area
*
* +-------------+------+------+-------------+-------------+
* 0 | STATKNUM |:DFLAG|//////| STADFNXT | STADFNUM |
* +-------------+------+------+-------------+-------------+
* 8 | STAMSSNG |
* +---------------------------+
*
*** STADF - Syntax state definition area
STADF Cross Reference
Symbol Dspl Value -------------- ---- ----- STA$END 000C STADFLAG 0002 STADFLEN 000C 0000000C STADFNUM 0006 STADFNXT 0004 STADFOPT 0002 80 STADONEM 0002 10 STADTERM 0002 40 STADVEND 0002 20 STAMSSNG 0008 STATKNUM 0000
Last updated on 6 Jun 2001 at 12:23:49 EDT.
Copyright IBM Corporation, 1990, 2001