repo_name
stringlengths 9
74
| language
stringclasses 1
value | length_bytes
int64 11
9.34M
| extension
stringclasses 2
values | content
stringlengths 11
9.34M
|
---|---|---|---|---|
godunko/adagl | Ada | 30,209 | ads | ------------------------------------------------------------------------------
-- --
-- Ada binding for OpenGL/WebGL --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2018-2020, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with Interfaces;
package OpenGL is
pragma Preelaborate;
use type Interfaces.Integer_32;
------------------------------------
-- Integer, fixed and float types --
------------------------------------
type GLbyte is new Interfaces.Integer_8;
type GLubyte is new Interfaces.Unsigned_8;
type GLshort is new Interfaces.Integer_16;
type GLushort is new Interfaces.Unsigned_16;
type GLfixed is private;
type GLint is new Interfaces.Integer_32;
subtype GLsizei is GLint range 0 .. GLint'Last;
type GLdouble is new Interfaces.IEEE_Float_32;
subtype GLclampd is GLdouble range 0.0 .. 1.0;
type GLfloat is new Interfaces.IEEE_Float_32;
subtype GLclampf is GLfloat range 0.0 .. 1.0;
type GLintptr is new Interfaces.Unsigned_64;
-- <type api="gles2" requires="khrplatform">typedef khronos_int64_t <name>GLint64</name>;</type>
-- <type api="gles2" requires="khrplatform">typedef khronos_uint64_t <name>GLuint64</name>;</type>
-- <type api="gles2" requires="khrplatform">typedef khronos_int64_t <name>GLint64EXT</name>;</type>
-- <type api="gles2" requires="khrplatform">typedef khronos_uint64_t <name>GLuint64EXT</name>;</type>
-- <type api="gles2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type>
--------------------------
-- Vectors and matrices --
--------------------------
type GLbyte_Vector_2 is array (Positive range 1 .. 2) of aliased GLbyte;
type GLbyte_Vector_3 is array (Positive range 1 .. 3) of aliased GLbyte;
type GLbyte_Vector_4 is array (Positive range 1 .. 4) of aliased GLbyte;
type GLubyte_Vector_2 is array (Positive range 1 .. 2) of aliased GLubyte;
type GLubyte_Vector_3 is array (Positive range 1 .. 3) of aliased GLubyte;
type GLubyte_Vector_4 is array (Positive range 1 .. 4) of aliased GLubyte;
type GLshort_Vector_2 is array (Positive range 1 .. 2) of aliased GLshort;
type GLshort_Vector_3 is array (Positive range 1 .. 3) of aliased GLshort;
type GLshort_Vector_4 is array (Positive range 1 .. 4) of aliased GLshort;
type GLushort_Vector_2 is array (Positive range 1 .. 2) of aliased GLushort;
type GLushort_Vector_3 is array (Positive range 1 .. 3) of aliased GLushort;
type GLushort_Vector_4 is array (Positive range 1 .. 4) of aliased GLushort;
type GLfixed_Vector_2 is array (Positive range 1 .. 2) of aliased GLfixed;
type GLfixed_Vector_3 is array (Positive range 1 .. 3) of aliased GLfixed;
type GLfixed_Vector_4 is array (Positive range 1 .. 4) of aliased GLfixed;
type GLfloat_Vector_2 is array (Positive range 1 .. 2) of aliased GLfloat;
type GLfloat_Vector_3 is array (Positive range 1 .. 3) of aliased GLfloat;
type GLfloat_Vector_4 is array (Positive range 1 .. 4) of aliased GLfloat;
type GLbyte_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLbyte
with Convention => Fortran;
type GLbyte_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLbyte
with Convention => Fortran;
type GLbyte_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLbyte
with Convention => Fortran;
type GLubyte_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLubyte
with Convention => Fortran;
type GLubyte_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLubyte
with Convention => Fortran;
type GLubyte_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLubyte
with Convention => Fortran;
type GLshort_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLshort
with Convention => Fortran;
type GLshort_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLshort
with Convention => Fortran;
type GLshort_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLshort
with Convention => Fortran;
type GLushort_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLushort
with Convention => Fortran;
type GLushort_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLushort
with Convention => Fortran;
type GLushort_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLushort
with Convention => Fortran;
type GLfixed_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLfixed
with Convention => Fortran;
type GLfixed_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLfixed
with Convention => Fortran;
type GLfixed_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLfixed
with Convention => Fortran;
type GLfloat_Matrix_2x2 is
array (Positive range 1 .. 2, Positive range 1 .. 2) of aliased GLfloat
with Convention => Fortran;
type GLfloat_Matrix_3x3 is
array (Positive range 1 .. 3, Positive range 1 .. 3) of aliased GLfloat
with Convention => Fortran;
type GLfloat_Matrix_4x4 is
array (Positive range 1 .. 4, Positive range 1 .. 4) of aliased GLfloat
with Convention => Fortran;
type GLubyte_Vector_4_Array is
array (Positive range <>) of aliased GLubyte_Vector_4;
--------------
-- Bitfield --
--------------
type GLbitfield is private;
GL_DEPTH_BUFFER_BIT : constant GLbitfield;
GL_STENCIL_BUFFER_BIT : constant GLbitfield;
GL_COLOR_BUFFER_BIT : constant GLbitfield;
-----------------
-- Enumeration --
-----------------
type GLenum is private;
GL_BYTE : constant GLenum;
GL_UNSIGNED_BYTE : constant GLenum;
GL_SHORT : constant GLenum;
GL_UNSIGNED_SHORT : constant GLenum;
GL_FIXED : constant GLenum;
GL_FLOAT : constant GLenum;
GL_POINTS : constant GLenum;
GL_LINES : constant GLenum;
GL_LINE_LOOP : constant GLenum;
GL_LINE_STRIP : constant GLenum;
GL_TRIANGLES : constant GLenum;
GL_TRIANGLE_STRIP : constant GLenum;
GL_TRIANGLE_FAN : constant GLenum;
GL_COLOR_ATTACHMENT0 : constant GLenum;
GL_DEPTH_ATTACHMENT : constant GLenum;
GL_STENCIL_ATTACHMENT : constant GLenum;
GL_TEXTURE_2D : constant GLenum;
GL_TEXTURE_CUBE_MAP_POSITIVE_X : constant GLenum;
GL_TEXTURE_CUBE_MAP_NEGATIVE_X : constant GLenum;
GL_TEXTURE_CUBE_MAP_POSITIVE_Y : constant GLenum;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : constant GLenum;
GL_TEXTURE_CUBE_MAP_POSITIVE_Z : constant GLenum;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : constant GLenum;
GL_RGBA4 : constant GLenum;
GL_RGB5_A1 : constant GLenum;
GL_RGB565 : constant GLenum;
GL_DEPTH_COMPONENT16 : constant GLenum;
GL_STENCIL_INDEX8 : constant GLenum;
GL_ALPHA : constant GLenum;
GL_LUMINANCE : constant GLenum;
GL_LUMINANCE_ALPHA : constant GLenum;
GL_RGB : constant GLenum;
GL_RGBA : constant GLenum;
GL_UNSIGNED_SHORT_4_4_4_4 : constant GLenum;
GL_UNSIGNED_SHORT_5_5_5_1 : constant GLenum;
GL_UNSIGNED_SHORT_5_6_5 : constant GLenum;
GL_TEXTURE_MAG_FILTER : constant GLenum;
GL_TEXTURE_MIN_FILTER : constant GLenum;
GL_TEXTURE_WRAP_S : constant GLenum;
GL_TEXTURE_WRAP_T : constant GLenum;
GL_NEAREST : constant GLenum;
GL_LINEAR : constant GLenum;
GL_NEAREST_MIPMAP_NEAREST : constant GLenum;
GL_LINEAR_MIPMAP_NEAREST : constant GLenum;
GL_NEAREST_MIPMAP_LINEAR : constant GLenum;
GL_LINEAR_MIPMAP_LINEAR : constant GLenum;
GL_REPEAT : constant GLenum;
GL_CLAMP_TO_EDGE : constant GLenum;
GL_MIRRORED_REPEAT : constant GLenum;
GL_CULL_FACE : constant GLenum;
GL_BLEND : constant GLenum;
GL_DITHER : constant GLenum;
GL_STENCIL_TEST : constant GLenum;
GL_DEPTH_TEST : constant GLenum;
GL_SCISSOR_TEST : constant GLenum;
GL_POLYGON_OFFSET_FILL : constant GLenum;
GL_SAMPLE_ALPHA_TO_COVERAGE : constant GLenum;
GL_SAMPLE_COVERAGE : constant GLenum;
GL_ZERO : constant GLenum;
GL_ONE : constant GLenum;
GL_SRC_COLOR : constant GLenum;
GL_ONE_MINUS_SRC_COLOR : constant GLenum;
GL_DST_COLOR : constant GLenum;
GL_ONE_MINUS_DST_COLOR : constant GLenum;
GL_SRC_ALPHA : constant GLenum;
GL_ONE_MINUS_SRC_ALPHA : constant GLenum;
GL_DST_ALPHA : constant GLenum;
GL_ONE_MINUS_DST_ALPHA : constant GLenum;
GL_CONSTANT_COLOR : constant GLenum;
GL_ONE_MINUS_CONSTANT_COLOR : constant GLenum;
GL_CONSTANT_ALPHA : constant GLenum;
GL_ONE_MINUS_CONSTANT_ALPHA : constant GLenum;
GL_SRC_ALPHA_SATURATE : constant GLenum;
GL_NEVER : constant GLenum;
GL_LESS : constant GLenum;
GL_EQUAL : constant GLenum;
GL_LEQUAL : constant GLenum;
GL_GREATER : constant GLenum;
GL_NOTEQUAL : constant GLenum;
GL_GEQUAL : constant GLenum;
GL_ALWAYS : constant GLenum;
-- <enum name="GL_FALSE"/>
-- <enum name="GL_TRUE"/>
-- <enum name="GL_FUNC_ADD"/>
-- <enum name="GL_BLEND_EQUATION"/>
-- <enum name="GL_BLEND_EQUATION_RGB"/>
-- <enum name="GL_BLEND_EQUATION_ALPHA"/>
-- <enum name="GL_FUNC_SUBTRACT"/>
-- <enum name="GL_FUNC_REVERSE_SUBTRACT"/>
-- <enum name="GL_BLEND_DST_RGB"/>
-- <enum name="GL_BLEND_SRC_RGB"/>
-- <enum name="GL_BLEND_DST_ALPHA"/>
-- <enum name="GL_BLEND_SRC_ALPHA"/>
-- <enum name="GL_BLEND_COLOR"/>
-- <enum name="GL_ARRAY_BUFFER"/>
-- <enum name="GL_ELEMENT_ARRAY_BUFFER"/>
-- <enum name="GL_ARRAY_BUFFER_BINDING"/>
-- <enum name="GL_ELEMENT_ARRAY_BUFFER_BINDING"/>
-- <enum name="GL_STREAM_DRAW"/>
-- <enum name="GL_STATIC_DRAW"/>
-- <enum name="GL_DYNAMIC_DRAW"/>
-- <enum name="GL_BUFFER_SIZE"/>
-- <enum name="GL_BUFFER_USAGE"/>
-- <enum name="GL_CURRENT_VERTEX_ATTRIB"/>
-- <enum name="GL_FRONT"/>
-- <enum name="GL_BACK"/>
-- <enum name="GL_FRONT_AND_BACK"/>
-- <enum name="GL_NO_ERROR"/>
-- <enum name="GL_INVALID_ENUM"/>
-- <enum name="GL_INVALID_VALUE"/>
-- <enum name="GL_INVALID_OPERATION"/>
-- <enum name="GL_OUT_OF_MEMORY"/>
-- <enum name="GL_CW"/>
-- <enum name="GL_CCW"/>
-- <enum name="GL_LINE_WIDTH"/>
-- <enum name="GL_ALIASED_POINT_SIZE_RANGE"/>
-- <enum name="GL_ALIASED_LINE_WIDTH_RANGE"/>
-- <enum name="GL_CULL_FACE_MODE"/>
-- <enum name="GL_FRONT_FACE"/>
-- <enum name="GL_DEPTH_RANGE"/>
-- <enum name="GL_DEPTH_WRITEMASK"/>
-- <enum name="GL_DEPTH_CLEAR_VALUE"/>
-- <enum name="GL_DEPTH_FUNC"/>
-- <enum name="GL_STENCIL_CLEAR_VALUE"/>
-- <enum name="GL_STENCIL_FUNC"/>
-- <enum name="GL_STENCIL_FAIL"/>
-- <enum name="GL_STENCIL_PASS_DEPTH_FAIL"/>
-- <enum name="GL_STENCIL_PASS_DEPTH_PASS"/>
-- <enum name="GL_STENCIL_REF"/>
-- <enum name="GL_STENCIL_VALUE_MASK"/>
-- <enum name="GL_STENCIL_WRITEMASK"/>
-- <enum name="GL_STENCIL_BACK_FUNC"/>
-- <enum name="GL_STENCIL_BACK_FAIL"/>
-- <enum name="GL_STENCIL_BACK_PASS_DEPTH_FAIL"/>
-- <enum name="GL_STENCIL_BACK_PASS_DEPTH_PASS"/>
-- <enum name="GL_STENCIL_BACK_REF"/>
-- <enum name="GL_STENCIL_BACK_VALUE_MASK"/>
-- <enum name="GL_STENCIL_BACK_WRITEMASK"/>
-- <enum name="GL_VIEWPORT"/>
-- <enum name="GL_SCISSOR_BOX"/>
-- <enum name="GL_COLOR_CLEAR_VALUE"/>
-- <enum name="GL_COLOR_WRITEMASK"/>
-- <enum name="GL_UNPACK_ALIGNMENT"/>
-- <enum name="GL_PACK_ALIGNMENT"/>
-- <enum name="GL_MAX_TEXTURE_SIZE"/>
-- <enum name="GL_MAX_VIEWPORT_DIMS"/>
-- <enum name="GL_SUBPIXEL_BITS"/>
-- <enum name="GL_RED_BITS"/>
-- <enum name="GL_GREEN_BITS"/>
-- <enum name="GL_BLUE_BITS"/>
-- <enum name="GL_ALPHA_BITS"/>
-- <enum name="GL_DEPTH_BITS"/>
-- <enum name="GL_STENCIL_BITS"/>
-- <enum name="GL_POLYGON_OFFSET_UNITS"/>
-- <enum name="GL_POLYGON_OFFSET_FACTOR"/>
-- <enum name="GL_TEXTURE_BINDING_2D"/>
-- <enum name="GL_SAMPLE_BUFFERS"/>
-- <enum name="GL_SAMPLES"/>
-- <enum name="GL_SAMPLE_COVERAGE_VALUE"/>
-- <enum name="GL_SAMPLE_COVERAGE_INVERT"/>
-- <enum name="GL_NUM_COMPRESSED_TEXTURE_FORMATS"/>
-- <enum name="GL_COMPRESSED_TEXTURE_FORMATS"/>
-- <enum name="GL_DONT_CARE"/>
-- <enum name="GL_FASTEST"/>
-- <enum name="GL_NICEST"/>
-- <enum name="GL_GENERATE_MIPMAP_HINT"/>
-- <enum name="GL_INT"/>
-- <enum name="GL_UNSIGNED_INT"/>
-- <enum name="GL_DEPTH_COMPONENT"/>
-- <enum name="GL_FRAGMENT_SHADER"/>
-- <enum name="GL_VERTEX_SHADER"/>
-- <enum name="GL_MAX_VERTEX_ATTRIBS"/>
-- <enum name="GL_MAX_VERTEX_UNIFORM_VECTORS"/>
-- <enum name="GL_MAX_VARYING_VECTORS"/>
-- <enum name="GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS"/>
-- <enum name="GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS"/>
-- <enum name="GL_MAX_TEXTURE_IMAGE_UNITS"/>
-- <enum name="GL_MAX_FRAGMENT_UNIFORM_VECTORS"/>
-- <enum name="GL_SHADER_TYPE"/>
-- <enum name="GL_DELETE_STATUS"/>
-- <enum name="GL_LINK_STATUS"/>
-- <enum name="GL_VALIDATE_STATUS"/>
-- <enum name="GL_ATTACHED_SHADERS"/>
-- <enum name="GL_ACTIVE_UNIFORMS"/>
-- <enum name="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
-- <enum name="GL_ACTIVE_ATTRIBUTES"/>
-- <enum name="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
-- <enum name="GL_SHADING_LANGUAGE_VERSION"/>
-- <enum name="GL_CURRENT_PROGRAM"/>
-- <enum name="GL_KEEP"/>
-- <enum name="GL_REPLACE"/>
-- <enum name="GL_INCR"/>
-- <enum name="GL_DECR"/>
-- <enum name="GL_INVERT"/>
-- <enum name="GL_INCR_WRAP"/>
-- <enum name="GL_DECR_WRAP"/>
-- <enum name="GL_VENDOR"/>
-- <enum name="GL_RENDERER"/>
-- <enum name="GL_VERSION"/>
-- <enum name="GL_EXTENSIONS"/>
-- <enum name="GL_TEXTURE"/>
-- <enum name="GL_TEXTURE_CUBE_MAP"/>
-- <enum name="GL_TEXTURE_BINDING_CUBE_MAP"/>
-- <enum name="GL_MAX_CUBE_MAP_TEXTURE_SIZE"/>
-- <enum name="GL_TEXTURE0"/>
-- <enum name="GL_TEXTURE1"/>
-- <enum name="GL_TEXTURE2"/>
-- <enum name="GL_TEXTURE3"/>
-- <enum name="GL_TEXTURE4"/>
-- <enum name="GL_TEXTURE5"/>
-- <enum name="GL_TEXTURE6"/>
-- <enum name="GL_TEXTURE7"/>
-- <enum name="GL_TEXTURE8"/>
-- <enum name="GL_TEXTURE9"/>
-- <enum name="GL_TEXTURE10"/>
-- <enum name="GL_TEXTURE11"/>
-- <enum name="GL_TEXTURE12"/>
-- <enum name="GL_TEXTURE13"/>
-- <enum name="GL_TEXTURE14"/>
-- <enum name="GL_TEXTURE15"/>
-- <enum name="GL_TEXTURE16"/>
-- <enum name="GL_TEXTURE17"/>
-- <enum name="GL_TEXTURE18"/>
-- <enum name="GL_TEXTURE19"/>
-- <enum name="GL_TEXTURE20"/>
-- <enum name="GL_TEXTURE21"/>
-- <enum name="GL_TEXTURE22"/>
-- <enum name="GL_TEXTURE23"/>
-- <enum name="GL_TEXTURE24"/>
-- <enum name="GL_TEXTURE25"/>
-- <enum name="GL_TEXTURE26"/>
-- <enum name="GL_TEXTURE27"/>
-- <enum name="GL_TEXTURE28"/>
-- <enum name="GL_TEXTURE29"/>
-- <enum name="GL_TEXTURE30"/>
-- <enum name="GL_TEXTURE31"/>
-- <enum name="GL_ACTIVE_TEXTURE"/>
-- <enum name="GL_FLOAT_VEC2"/>
-- <enum name="GL_FLOAT_VEC3"/>
-- <enum name="GL_FLOAT_VEC4"/>
-- <enum name="GL_INT_VEC2"/>
-- <enum name="GL_INT_VEC3"/>
-- <enum name="GL_INT_VEC4"/>
-- <enum name="GL_BOOL"/>
-- <enum name="GL_BOOL_VEC2"/>
-- <enum name="GL_BOOL_VEC3"/>
-- <enum name="GL_BOOL_VEC4"/>
-- <enum name="GL_FLOAT_MAT2"/>
-- <enum name="GL_FLOAT_MAT3"/>
-- <enum name="GL_FLOAT_MAT4"/>
-- <enum name="GL_SAMPLER_2D"/>
-- <enum name="GL_SAMPLER_CUBE"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/>
-- <enum name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/>
-- <enum name="GL_IMPLEMENTATION_COLOR_READ_TYPE"/>
-- <enum name="GL_IMPLEMENTATION_COLOR_READ_FORMAT"/>
-- <enum name="GL_COMPILE_STATUS"/>
-- <enum name="GL_INFO_LOG_LENGTH"/>
-- <enum name="GL_SHADER_SOURCE_LENGTH"/>
-- <enum name="GL_SHADER_COMPILER"/>
-- <enum name="GL_SHADER_BINARY_FORMATS"/>
-- <enum name="GL_NUM_SHADER_BINARY_FORMATS"/>
-- <enum name="GL_LOW_FLOAT"/>
-- <enum name="GL_MEDIUM_FLOAT"/>
-- <enum name="GL_HIGH_FLOAT"/>
-- <enum name="GL_LOW_INT"/>
-- <enum name="GL_MEDIUM_INT"/>
-- <enum name="GL_HIGH_INT"/>
-- <enum name="GL_FRAMEBUFFER"/>
-- <enum name="GL_RENDERBUFFER"/>
-- <enum name="GL_RENDERBUFFER_WIDTH"/>
-- <enum name="GL_RENDERBUFFER_HEIGHT"/>
-- <enum name="GL_RENDERBUFFER_INTERNAL_FORMAT"/>
-- <enum name="GL_RENDERBUFFER_RED_SIZE"/>
-- <enum name="GL_RENDERBUFFER_GREEN_SIZE"/>
-- <enum name="GL_RENDERBUFFER_BLUE_SIZE"/>
-- <enum name="GL_RENDERBUFFER_ALPHA_SIZE"/>
-- <enum name="GL_RENDERBUFFER_DEPTH_SIZE"/>
-- <enum name="GL_RENDERBUFFER_STENCIL_SIZE"/>
-- <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"/>
-- <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"/>
-- <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"/>
-- <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"/>
-- <enum name="GL_NONE"/>
-- <enum name="GL_FRAMEBUFFER_COMPLETE"/>
-- <enum name="GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"/>
-- <enum name="GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"/>
-- <enum name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"/>
-- <enum name="GL_FRAMEBUFFER_UNSUPPORTED"/>
-- <enum name="GL_FRAMEBUFFER_BINDING"/>
-- <enum name="GL_RENDERBUFFER_BINDING"/>
-- <enum name="GL_MAX_RENDERBUFFER_SIZE"/>
-- <enum name="GL_INVALID_FRAMEBUFFER_OPERATION"/>
subtype Clear_Buffer_Mask_Bits is GLbitfield
with Static_Predicate =>
Clear_Buffer_Mask_Bits in GL_COLOR_BUFFER_BIT
| GL_DEPTH_BUFFER_BIT
| GL_STENCIL_BUFFER_BIT;
type Clear_Buffer_Mask is private;
function "+" (Right : Clear_Buffer_Mask_Bits) return Clear_Buffer_Mask;
function "+"
(Left : Clear_Buffer_Mask_Bits;
Right : Clear_Buffer_Mask_Bits) return Clear_Buffer_Mask;
function "+"
(Left : Clear_Buffer_Mask;
Right : Clear_Buffer_Mask_Bits) return Clear_Buffer_Mask;
function Is_Set
(Mask : Clear_Buffer_Mask; Bit : Clear_Buffer_Mask_Bits) return Boolean;
type Buffer_Type is (Vertex, Index);
type Shader_Type is (Vertex, Fragment);
type Texture_Type is
(Texture_2D,
Cube_Map_Positive_X,
Cube_Map_Negative_X,
Cube_Map_Positive_Y,
Cube_Map_Negative_Y,
Cube_Map_Positive_Z,
Cube_Map_Negative_Z);
subtype Texture_Unit is GLint range 0 .. GLint'Last;
type Uniform_Location is private;
No_Uniform_Location : constant Uniform_Location;
type Attribute_Location is
new Interfaces.Integer_32 range -1 .. Interfaces.Integer_32'Last;
No_Attribute_Location : constant Attribute_Location := -1;
private
type GLbitfield is new Interfaces.Unsigned_32;
type GLenum is new Interfaces.Unsigned_32;
type Clear_Buffer_Mask is new GLbitfield;
type GLfixed is new Interfaces.Integer_32;
type Uniform_Location is new OpenGL.GLint;
No_Uniform_Location : constant Uniform_Location := Uniform_Location'First;
GL_DEPTH_BUFFER_BIT : constant GLbitfield := 16#0000_0100#;
GL_STENCIL_BUFFER_BIT : constant GLbitfield := 16#0000_0400#;
GL_COLOR_BUFFER_BIT : constant GLbitfield := 16#0000_4000#;
GL_ZERO : constant GLenum := 16#0000#;
GL_ONE : constant GLenum := 16#0001#;
GL_POINTS : constant GLenum := 16#0000#;
GL_LINES : constant GLenum := 16#0001#;
GL_LINE_LOOP : constant GLenum := 16#0002#;
GL_LINE_STRIP : constant GLenum := 16#0003#;
GL_TRIANGLES : constant GLenum := 16#0004#;
GL_TRIANGLE_STRIP : constant GLenum := 16#0005#;
GL_TRIANGLE_FAN : constant GLenum := 16#0006#;
GL_NEVER : constant GLenum := 16#0200#;
GL_LESS : constant GLenum := 16#0201#;
GL_EQUAL : constant GLenum := 16#0202#;
GL_LEQUAL : constant GLenum := 16#0203#;
GL_GREATER : constant GLenum := 16#0204#;
GL_NOTEQUAL : constant GLenum := 16#0205#;
GL_GEQUAL : constant GLenum := 16#0206#;
GL_ALWAYS : constant GLenum := 16#0207#;
GL_SRC_COLOR : constant GLenum := 16#0300#;
GL_ONE_MINUS_SRC_COLOR : constant GLenum := 16#0301#;
GL_SRC_ALPHA : constant GLenum := 16#0302#;
GL_ONE_MINUS_SRC_ALPHA : constant GLenum := 16#0303#;
GL_DST_ALPHA : constant GLenum := 16#0304#;
GL_ONE_MINUS_DST_ALPHA : constant GLenum := 16#0305#;
GL_DST_COLOR : constant GLenum := 16#0306#;
GL_ONE_MINUS_DST_COLOR : constant GLenum := 16#0307#;
GL_SRC_ALPHA_SATURATE : constant GLenum := 16#0308#;
GL_CULL_FACE : constant GLenum := 16#0B44#;
GL_DEPTH_TEST : constant GLenum := 16#0B71#;
GL_STENCIL_TEST : constant GLenum := 16#0B90#;
GL_DITHER : constant GLenum := 16#0BD0#;
GL_BLEND : constant GLenum := 16#0BE2#;
GL_SCISSOR_TEST : constant GLenum := 16#0C11#;
GL_TEXTURE_2D : constant GLenum := 16#0DE1#;
GL_BYTE : constant GLenum := 16#1400#;
GL_UNSIGNED_BYTE : constant GLenum := 16#1401#;
GL_SHORT : constant GLenum := 16#1402#;
GL_UNSIGNED_SHORT : constant GLenum := 16#1403#;
GL_FLOAT : constant GLenum := 16#1406#;
GL_FIXED : constant GLenum := 16#140C#;
GL_ALPHA : constant GLenum := 16#1906#;
GL_RGB : constant GLenum := 16#1907#;
GL_RGBA : constant GLenum := 16#1908#;
GL_LUMINANCE : constant GLenum := 16#1909#;
GL_LUMINANCE_ALPHA : constant GLenum := 16#190A#;
GL_NEAREST : constant GLenum := 16#2600#;
GL_LINEAR : constant GLenum := 16#2601#;
GL_NEAREST_MIPMAP_NEAREST : constant GLenum := 16#2700#;
GL_LINEAR_MIPMAP_NEAREST : constant GLenum := 16#2701#;
GL_NEAREST_MIPMAP_LINEAR : constant GLenum := 16#2702#;
GL_LINEAR_MIPMAP_LINEAR : constant GLenum := 16#2703#;
GL_TEXTURE_MAG_FILTER : constant GLenum := 16#2800#;
GL_TEXTURE_MIN_FILTER : constant GLenum := 16#2801#;
GL_TEXTURE_WRAP_S : constant GLenum := 16#2802#;
GL_TEXTURE_WRAP_T : constant GLenum := 16#2803#;
GL_REPEAT : constant GLenum := 16#2901#;
GL_CONSTANT_COLOR : constant GLenum := 16#8001#;
GL_ONE_MINUS_CONSTANT_COLOR : constant GLenum := 16#8002#;
GL_CONSTANT_ALPHA : constant GLenum := 16#8003#;
GL_ONE_MINUS_CONSTANT_ALPHA : constant GLenum := 16#8004#;
GL_UNSIGNED_SHORT_4_4_4_4 : constant GLenum := 16#8033#;
GL_UNSIGNED_SHORT_5_5_5_1 : constant GLenum := 16#8034#;
GL_POLYGON_OFFSET_FILL : constant GLenum := 16#8037#;
GL_RGBA4 : constant GLenum := 16#8056#;
GL_RGB5_A1 : constant GLenum := 16#8057#;
GL_SAMPLE_ALPHA_TO_COVERAGE : constant GLenum := 16#809E#;
GL_SAMPLE_COVERAGE : constant GLenum := 16#80A0#;
GL_CLAMP_TO_EDGE : constant GLenum := 16#812F#;
GL_DEPTH_COMPONENT16 : constant GLenum := 16#81A5#;
GL_UNSIGNED_SHORT_5_6_5 : constant GLenum := 16#8363#;
GL_MIRRORED_REPEAT : constant GLenum := 16#8370#;
GL_TEXTURE_CUBE_MAP_POSITIVE_X : constant GLenum := 16#8515#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_X : constant GLenum := 16#8516#;
GL_TEXTURE_CUBE_MAP_POSITIVE_Y : constant GLenum := 16#8517#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : constant GLenum := 16#8518#;
GL_TEXTURE_CUBE_MAP_POSITIVE_Z : constant GLenum := 16#8519#;
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z : constant GLenum := 16#851A#;
GL_COLOR_ATTACHMENT0 : constant GLenum := 16#8CE0#;
GL_DEPTH_ATTACHMENT : constant GLenum := 16#8D00#;
GL_STENCIL_ATTACHMENT : constant GLenum := 16#8D20#;
GL_STENCIL_INDEX8 : constant GLenum := 16#8D48#;
GL_RGB565 : constant GLenum := 16#8D62#;
end OpenGL;
|
stcarrez/ada-awa | Ada | 6,176 | adb | -----------------------------------------------------------------------
-- awa-storages-stores-files -- File system store
-- Copyright (C) 2012, 2015, 2016, 2018, 2022 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Streams;
with Ada.Directories;
with Interfaces;
with Util.Files;
with Util.Log.Loggers;
with Util.Encoders;
with Util.Encoders.Base64;
package body AWA.Storages.Stores.Files is
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("AWA.Storages.Stores.Files");
-- ------------------------------
-- Create a file storage service and use the <tt>Root</tt> directory to store the files.
-- ------------------------------
function Create_File_Store (Root : in String) return Store_Access is
Result : constant File_Store_Access := new File_Store '(Len => Root'Length,
Root => Root);
begin
return Result.all'Access;
end Create_File_Store;
-- ------------------------------
-- Build a path where the file store represented by <tt>Store</tt> is saved.
-- ------------------------------
function Get_Path (Storage : in File_Store;
Store : in AWA.Storages.Models.Storage_Ref'Class) return String is
begin
return Storage.Get_Path (Store.Get_Workspace.Get_Id, Store.Get_Id);
end Get_Path;
-- ------------------------------
-- Build a path where the file store represented by <tt>Store</tt> is saved.
-- ------------------------------
function Get_Path (Storage : in File_Store;
Workspace_Id : in ADO.Identifier;
File_Id : in ADO.Identifier) return String is
use Interfaces;
use type Ada.Streams.Stream_Element_Offset;
T : Util.Encoders.Base64.Encoder;
Buffer : Ada.Streams.Stream_Element_Array (1 .. 10);
R : Ada.Streams.Stream_Element_Array (1 .. 32);
Last : Ada.Streams.Stream_Element_Offset;
Encoded : Ada.Streams.Stream_Element_Offset;
Pos : Positive := 1;
Res : String (1 .. 16 + 5);
begin
Util.Encoders.Encode_LEB128 (Buffer, Buffer'First, Unsigned_64 (Workspace_Id), Last);
Util.Encoders.Encode_LEB128 (Buffer, Last, Unsigned_64 (File_Id), Last);
T.Transform (Data => Buffer (1 .. Last),
Into => R, Last => Last,
Encoded => Encoded);
for I in 1 .. Last loop
Res (Pos) := Character'Val (R (I));
Pos := Pos + 1;
if (I mod 2) = 0 and then I /= Last then
Res (Pos) := '/';
Pos := Pos + 1;
end if;
end loop;
return Util.Files.Compose (Storage.Root, Res (1 .. Pos - 1));
end Get_Path;
-- ------------------------------
-- Save the file represented by the `Path` variable into a store and associate that
-- content with the storage reference represented by `Into`.
-- ------------------------------
overriding
procedure Save (Storage : in File_Store;
Session : in out ADO.Sessions.Master_Session;
Into : in out AWA.Storages.Models.Storage_Ref'Class;
Path : in String) is
pragma Unreferenced (Session);
Store : constant String := Storage.Get_Path (Into);
Dir : constant String := Ada.Directories.Containing_Directory (Store);
begin
Log.Info ("Storage save {0} to {1}", Path, Store);
Ada.Directories.Create_Path (Dir);
Ada.Directories.Copy_File (Source_Name => Path,
Target_Name => Store,
Form => "all");
end Save;
overriding
procedure Load (Storage : in File_Store;
Session : in out ADO.Sessions.Session'Class;
From : in AWA.Storages.Models.Storage_Ref'Class;
Into : in out Storage_File) is
pragma Unreferenced (Session);
Store : constant String := Storage.Get_Path (From);
begin
Into.Path := Ada.Strings.Unbounded.To_Unbounded_String (Store);
end Load;
-- ------------------------------
-- Create a storage
-- ------------------------------
overriding
procedure Create (Storage : in File_Store;
Session : in out ADO.Sessions.Master_Session;
From : in AWA.Storages.Models.Storage_Ref'Class;
Into : in out AWA.Storages.Storage_File) is
pragma Unreferenced (Session);
Store : constant String := Storage.Get_Path (From);
Dir : constant String := Ada.Directories.Containing_Directory (Store);
begin
Log.Info ("Storage create {0}", Store);
Ada.Directories.Create_Path (Dir);
Into.Path := Ada.Strings.Unbounded.To_Unbounded_String (Store);
end Create;
-- ------------------------------
-- Delete the content associate with the storage represented by `From`.
-- ------------------------------
overriding
procedure Delete (Storage : in File_Store;
Session : in out ADO.Sessions.Master_Session;
From : in out AWA.Storages.Models.Storage_Ref'Class) is
pragma Unreferenced (Session);
Store : constant String := Storage.Get_Path (From);
begin
if Ada.Directories.Exists (Store) then
Log.Info ("Storage delete {0}", Store);
Ada.Directories.Delete_File (Store);
end if;
end Delete;
end AWA.Storages.Stores.Files;
|
reznikmm/matreshka | Ada | 3,611 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Asis;
with Engines.Contexts;
package Properties.Declarations is
function Inside_Package
(Engine : access Engines.Contexts.Context;
Element : Asis.Declaration;
Name : Engines.Boolean_Property) return Boolean;
end Properties.Declarations;
|
persan/midnightsun-ctf-LoveLacedLetter | Ada | 359 | ads | with Posix;
package Hide is
procedure Put_Line (Text : String) renames Posix.Put_Line;
type Integer_8 is range -2 ** 7 .. 2 ** 7 - 1;
for Integer_8'Size use 8;
type Integer_16 is range -2 ** 15 .. 2 ** 15 - 1;
for Integer_16'Size use 16;
type Integer_32 is range -2 ** 31 .. 2 ** 31 - 1;
for Integer_32'Size use 32;
end Hide;
|
AdaCore/langkit | Ada | 1,478 | adb | package body Libfoolang.Implementation.Extensions is
------------------------------------
-- Id_P_Referenced_Scope_Or_Error --
------------------------------------
function Id_P_Referenced_Scope_Or_Error
(Node : Bare_Id; Or_Error : Boolean) return Bare_Scope
is
function Error (Message : String) return Bare_Scope
is (if Or_Error
then raise Property_Error with Message
else null);
Unit : constant Internal_Unit :=
Get_From_File
(Context => Node.Unit.Context,
Filename => "helper.txt",
Charset => "",
Reparse => False,
Rule => Default_Grammar_Rule);
Root : constant Bare_Foo_Node := Unit.Ast_Root;
begin
-- For the purpose of this test, assume that the only scope we will ever
-- have to resolve is "a". If the unit has only one element, it's that
-- scope. If it's a list of scope, it's the second one.
if Get_Symbol (Node).all /= "a" then
raise Program_Error;
end if;
Populate_Lexical_Env (Unit, 2);
if Root = null then
return Error ("empty unit");
elsif Root.Kind = Foo_Scope then
return Root;
elsif Root.Kind = Foo_Scope_List and then Children_Count (Root) >= 2 then
return Child (Root, 2);
else
return Error ("scope not found");
end if;
end Id_P_Referenced_Scope_Or_Error;
end Libfoolang.Implementation.Extensions;
|
reznikmm/matreshka | Ada | 6,768 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.Atomics.Counters;
with Matreshka.Internals.Strings;
package Matreshka.Internals.String_Vectors is
pragma Preelaborate;
type String_Vector_Index is mod 2 ** 32;
for String_Vector_Index'Size use 32;
type Shared_String_Array is
array (String_Vector_Index range <>)
of Matreshka.Internals.Strings.Shared_String_Access;
type Shared_String_Vector (Last : String_Vector_Index) is limited record
Counter : Matreshka.Atomics.Counters.Counter;
-- Atomic reference counter.
Unused : String_Vector_Index := 0;
-- Length of the actual data.
Value : Shared_String_Array (0 .. Last);
end record;
type Shared_String_Vector_Access is access all Shared_String_Vector;
Empty_Shared_String_Vector : aliased Shared_String_Vector (0);
procedure Reference (Item : Shared_String_Vector_Access);
pragma Inline (Reference);
pragma Inline_Always (Reference);
-- Increment reference counter. Change of reference counter of
-- Empty_Shared_String_Vector object is prevented to provide speedup
-- and to allow to use it to initialize components of
-- Preelaborateable_Initialization types.
procedure Dereference (Item : in out Shared_String_Vector_Access);
-- Decrement reference counter and free resources if it reach zero value.
-- Self is setted to null. Decrement of reference counter and deallocation
-- of Empty_Shared_String_Vector object is prevented to provide minor
-- speedup and to allow use it to initialize components of
-- Preelaborateable_Initialization types.
function Allocate
(Size : String_Vector_Index) return not null Shared_String_Vector_Access;
-- Allocates new instance of string with specified size. Actual size of the
-- allocated string can be greater. This subprogram must not be called with
-- zero argument.
procedure Detach
(Item : in out Shared_String_Vector_Access;
Size : String_Vector_Index);
-- Detach specified shared string vector. If reference counter equal to
-- one, shared string vector is not an empty shared string vector object
-- and its current size is sufficient to store specified number of strings
-- then to nothing. Otherwise, allocates new shared string vector and
-- copy existing data.
procedure Append
(Item : in out Shared_String_Vector_Access;
String : not null Matreshka.Internals.Strings.Shared_String_Access);
-- Append string to the vector, reallocate vector then necessary. String's
-- reference counter is not incremented.
procedure Prepend
(Self : in out Shared_String_Vector_Access;
Vector : not null Shared_String_Vector_Access);
-- Prepends strings from vector to the vector, reallocates vector then
-- necessary. Both vectors are still valid after this operation, reference
-- counters of all prepended strings are incremented.
procedure Replace
(Self : in out Shared_String_Vector_Access;
Index : String_Vector_Index;
Item : not null Matreshka.Internals.Strings.Shared_String_Access);
-- Replace string at the specified position by another one.
procedure Insert
(Self : in out Shared_String_Vector_Access;
Index : String_Vector_Index;
Item : not null Matreshka.Internals.Strings.Shared_String_Access);
-- Inserts string into the specified position.
end Matreshka.Internals.String_Vectors;
|
onox/orka | Ada | 1,313 | ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
package Orka.SIMD.SSE2.Longs.Logical is
pragma Pure;
function And_Not (Left, Right : m128l) return m128l
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_pandn128";
function "and" (Left, Right : m128l) return m128l
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_pand128";
function "or" (Left, Right : m128l) return m128l
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_por128";
function "xor" (Left, Right : m128l) return m128l
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_pxor128";
end Orka.SIMD.SSE2.Longs.Logical;
|
io7m/coreland-serial_io | Ada | 7,865 | ads | with Ada.Streams;
with Interfaces;
package Serial_IO is
--
-- 8
--
type Unsigned_8_t is mod 2 ** 8;
for Unsigned_8_t'Size use 8;
for Unsigned_8_t'Alignment use 1;
--
-- 16
--
type Unsigned_16_t is new Interfaces.Unsigned_16;
type Unsigned_16_Packed_Index_t is range 1 .. 2;
type Unsigned_16_Packed_t is array (Unsigned_16_Packed_Index_t) of Unsigned_8_t;
pragma Pack (Unsigned_16_Packed_t);
procedure Pack_16_BE
(Input : in Unsigned_16_t;
Output : out Unsigned_16_Packed_t);
procedure Pack_16_LE
(Input : in Unsigned_16_t;
Output : out Unsigned_16_Packed_t);
procedure Unpack_16_BE
(Input : in Unsigned_16_Packed_t;
Output : out Unsigned_16_t);
procedure Unpack_16_LE
(Input : in Unsigned_16_Packed_t;
Output : out Unsigned_16_t);
procedure Attribute_Write_16_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Unsigned_16_t);
procedure Attribute_Read_16_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Unsigned_16_t);
for Unsigned_16_t'Write use Attribute_Write_16_BE;
for Unsigned_16_t'Read use Attribute_Read_16_BE;
--
-- 32
--
type Unsigned_32_t is new Interfaces.Unsigned_32;
type Unsigned_32_Packed_Index_t is range 1 .. 4;
type Unsigned_32_Packed_t is array (Unsigned_32_Packed_Index_t) of Unsigned_8_t;
pragma Pack (Unsigned_32_Packed_t);
procedure Pack_32_BE
(Input : in Unsigned_32_t;
Output : out Unsigned_32_Packed_t);
procedure Pack_32_LE
(Input : in Unsigned_32_t;
Output : out Unsigned_32_Packed_t);
procedure Unpack_32_BE
(Input : in Unsigned_32_Packed_t;
Output : out Unsigned_32_t);
procedure Unpack_32_LE
(Input : in Unsigned_32_Packed_t;
Output : out Unsigned_32_t);
procedure Attribute_Write_32_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Unsigned_32_t);
procedure Attribute_Read_32_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Unsigned_32_t);
for Unsigned_32_t'Write use Attribute_Write_32_BE;
for Unsigned_32_t'Read use Attribute_Read_32_BE;
--
-- 64
--
type Unsigned_64_t is new Interfaces.Unsigned_64;
type Unsigned_64_Packed_Index_t is range 1 .. 8;
type Unsigned_64_Packed_t is array (Unsigned_64_Packed_Index_t) of Unsigned_8_t;
pragma Pack (Unsigned_64_Packed_t);
procedure Pack_64_BE
(Input : in Unsigned_64_t;
Output : out Unsigned_64_Packed_t);
procedure Pack_64_LE
(Input : in Unsigned_64_t;
Output : out Unsigned_64_Packed_t);
procedure Unpack_64_BE
(Input : in Unsigned_64_Packed_t;
Output : out Unsigned_64_t);
procedure Unpack_64_LE
(Input : in Unsigned_64_Packed_t;
Output : out Unsigned_64_t);
procedure Attribute_Write_64_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Unsigned_64_t);
procedure Attribute_Read_64_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Unsigned_64_t);
for Unsigned_64_t'Write use Attribute_Write_64_BE;
for Unsigned_64_t'Read use Attribute_Read_64_BE;
--
-- 32
--
type Float_32_t is digits 6;
for Float_32_t'Size use 32;
for Float_32_t'Alignment use 4;
procedure Pack_Float_32_BE
(Input : in Float_32_t;
Output : out Unsigned_32_Packed_t);
procedure Pack_Float_32_LE
(Input : in Float_32_t;
Output : out Unsigned_32_Packed_t);
procedure Unpack_Float_32_BE
(Input : in Unsigned_32_Packed_t;
Output : out Float_32_t);
procedure Unpack_Float_32_LE
(Input : in Unsigned_32_Packed_t;
Output : out Float_32_t);
procedure Attribute_Write_Float_32_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Float_32_t);
procedure Attribute_Read_Float_32_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Float_32_t);
for Float_32_t'Write use Attribute_Write_Float_32_BE;
for Float_32_t'Read use Attribute_Read_Float_32_BE;
--
-- 64
--
type Float_64_t is digits 15;
for Float_64_t'Size use 64;
for Float_64_t'Alignment use 8;
procedure Pack_Float_64_BE
(Input : in Float_64_t;
Output : out Unsigned_64_Packed_t);
procedure Pack_Float_64_LE
(Input : in Float_64_t;
Output : out Unsigned_64_Packed_t);
procedure Unpack_Float_64_BE
(Input : in Unsigned_64_Packed_t;
Output : out Float_64_t);
procedure Unpack_Float_64_LE
(Input : in Unsigned_64_Packed_t;
Output : out Float_64_t);
procedure Attribute_Write_Float_64_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Float_64_t);
procedure Attribute_Read_Float_64_BE
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Float_64_t);
for Float_64_t'Write use Attribute_Write_Float_64_BE;
for Float_64_t'Read use Attribute_Read_Float_64_BE;
--
-- UTF-8 encoded Wide_String type.
--
subtype UTF8_String_Size_t is Unsigned_32_t;
subtype UTF8_String_Index_t is UTF8_String_Size_t range 1 .. UTF8_String_Size_t'Last;
type UTF8_String_t is array (UTF8_String_Index_t range <>) of Wide_Character;
pragma Pack (UTF8_String_t);
procedure UTF8_String_Attribute_Output
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in UTF8_String_t);
procedure UTF8_String_Attribute_Write
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in UTF8_String_t)
renames UTF8_String_Attribute_Output;
procedure UTF8_String_Attribute_Read
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out UTF8_String_t);
function UTF8_String_Attribute_Input
(Stream : not null access Ada.Streams.Root_Stream_Type'Class)
return UTF8_String_t;
for UTF8_String_t'Output use UTF8_String_Attribute_Output;
for UTF8_String_t'Write use UTF8_String_Attribute_Write;
for UTF8_String_t'Input use UTF8_String_Attribute_Input;
for UTF8_String_t'Read use UTF8_String_Attribute_Read;
--
-- Serializable UTF-8 bounded string type.
--
generic
First : UTF8_String_Index_t;
Last : UTF8_String_Index_t;
package Serializable_Bounded is
subtype Index_t is UTF8_String_Index_t range First .. Last;
subtype String_t is UTF8_String_t (UTF8_String_Index_t);
type Data_t is record
Data : String_t;
Used : Index_t;
end record;
end Serializable_Bounded;
--
-- Optional data element.
--
generic
type Data_Type is private;
package Optional_Element is
type Data_t is record
Present : Boolean;
Contents : Data_Type;
end record;
procedure Data_Attribute_Write
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Data_t);
procedure Data_Attribute_Read
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Data_t);
for Data_t'Read use Data_Attribute_Read;
for Data_t'Write use Data_Attribute_Write;
end Optional_Element;
--
-- Enumeration IO.
--
generic
type Enumeration_Base is (<>);
package Serializable_Enumeration is
type Data_t is new Enumeration_Base;
procedure Data_Attribute_Write
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : in Data_t);
procedure Data_Attribute_Read
(Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : out Data_t);
for Data_t'Read use Data_Attribute_Read;
for Data_t'Write use Data_Attribute_Write;
end Serializable_Enumeration;
end Serial_IO;
|
OneWingedShark/EVIL | Ada | 3,059 | adb | Pragma Ada_2012;
Pragma Assertion_Policy( Check );
Package Body EVIL.Util.Files with SPARK_Mode => On is
--------------
-- GENERICS --
--------------
Generic
with Procedure Init_File(
File : in out File_Type;
Mode : File_Mode;
Name : String := Empty_String;
Form : String := Empty_String
);
Function Generic_Make( Name : String; Mode : File_Mode ) return File;
Function Generic_Make( Name : String; Mode : File_Mode ) return File is
Use Ada.Finalization;
Begin
Return Result : File := (Limited_Controlled with Others => <>) do
Init_File(
File => Result.Data,
Mode => Mode,
Name => Name
);
Result.FSA:= Stream(Result.Data);
End return;
End;
Generic
Type Return_Type(<>) is private;
with Function Op( File : File_Type ) return Return_Type;
Function Generic_Function( Object : File ) return Return_Type with Inline;
Function Generic_Function( Object : File ) return Return_Type is
( Op(Object.Data) );
Generic
with Procedure Op( File : in out File_Type );
Procedure Generic_FileOp( Object : in out File ) with Inline;
Procedure Generic_FileOp( Object : in out File ) is
Begin
Op( Object.Data );
End Generic_FileOp;
--------------------
-- INSTANTIATIONS --
--------------------
Function Create_File is new Generic_Make( Init_File => Create );
Function Open_File is new Generic_Make( Init_File => Open );
Function Get_Mode is new Generic_Function( File_Mode, Mode );
Function Get_Name is new Generic_Function( String, Name );
Function Get_Form is new Generic_Function( String, Form );
Function Get_Open is new Generic_Function( Boolean, Is_Open );
Procedure Do_Close is new Generic_FileOp ( Close );
Procedure Do_Delete is new Generic_FileOp ( Delete );
Procedure Do_Reset is new Generic_FileOp ( Reset );
-------------
-- RENAMES --
-------------
Function Create( Name : String; Mode : File_Mode ) return File
renames Create_File;
Function Open( Name : String; Mode : File_Mode ) return File
renames Open_File;
Function Mode ( Object : File ) return File_Mode renames Get_Mode;
Function Name ( Object : File ) return String renames Get_Name;
Function Form ( Object : File ) return String renames Get_Form;
Function Open ( Object : File ) return Boolean renames Get_Open;
Procedure Close (Object : in out File) renames Do_Close;
Procedure Delete (Object : in out File) renames Do_Delete;
Procedure Reset (Object : in out File) renames Do_Reset;
------------------
-- FINALIZATION --
------------------
Procedure Finalize (Object : in out File) is
Begin
Close( Object.Data );
End Finalize;
-----------------
-- non-renames --
-----------------
Procedure Reset (Object : in out File; Mode : File_Mode) is
Begin
Reset(File => Object.Data, Mode => Mode);
End Reset;
End EVIL.Util.Files;
|
redparavoz/ada-wiki | Ada | 5,163 | ads | -----------------------------------------------------------------------
-- util-texts-builders -- Text builder
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Finalization;
-- == Description ==
-- The <tt>Util.Texts.Builders</tt> generic package was designed to provide string builders.
-- The interface was designed to reduce memory copies as much as possible.
--
-- * The <tt>Builder</tt> type holds a list of chunks into which texts are appended.
-- * The builder type holds an initial chunk whose capacity is defined when the builder
-- instance is declared.
-- * There is only an <tt>Append</tt> procedure which allows to append text to the builder.
-- This is the only time when a copy is made.
-- * The package defines the <tt>Iterate</tt> operation that allows to get the content
-- collected by the builder. When using the <tt>Iterate</tt> operation, no copy is
-- performed since chunks data are passed passed by reference.
-- * The type is limited to forbid copies of the builder instance.
--
-- == Example ==
-- First, instantiate the package for the element type (eg, String):
--
-- package String_Builder is new Util.Texts.Builders (Character, String);
--
-- Declare the string builder instance with its initial capacity:
--
-- Builder : String_Builder.Builder (256);
--
-- And append to it:
--
-- String_Builder.Append (Builder, "Hello");
--
-- To get the content collected in the builder instance, write a procedure that recieves
-- the chunk data as parameter:
--
-- procedure Collect (Item : in String) is ...
--
-- And use the <tt>Iterate</tt> operation:
--
-- String_Builder.Iterate (Builder, Collect'Access);
--
generic
type Element_Type is (<>);
type Input is array (Positive range <>) of Element_Type;
Chunk_Size : Positive := 80;
package Util.Texts.Builders is
pragma Preelaborate;
type Builder (Len : Positive) is limited private;
-- Get the length of the item builder.
function Length (Source : in Builder) return Natural;
-- Get the capacity of the builder.
function Capacity (Source : in Builder) return Natural;
-- Get the builder block size.
function Block_Size (Source : in Builder) return Positive;
-- Set the block size for the allocation of next chunks.
procedure Set_Block_Size (Source : in out Builder;
Size : in Positive);
-- Append the <tt>New_Item</tt> at the end of the source growing the buffer if necessary.
procedure Append (Source : in out Builder;
New_Item : in Input);
-- Append the <tt>New_Item</tt> at the end of the source growing the buffer if necessary.
procedure Append (Source : in out Builder;
New_Item : in Element_Type);
-- Clear the source freeing any storage allocated for the buffer.
procedure Clear (Source : in out Builder);
-- Iterate over the buffer content calling the <tt>Process</tt> procedure with each
-- chunk.
procedure Iterate (Source : in Builder;
Process : not null access procedure (Chunk : in Input));
-- Get the buffer content as an array.
function To_Array (Source : in Builder) return Input;
-- Return the content starting from the tail and up to <tt>Length</tt> items.
function Tail (Source : in Builder;
Length : in Natural) return Input;
-- Call the <tt>Process</tt> procedure with the full buffer content, trying to avoid
-- secondary stack copies as much as possible.
generic
with procedure Process (Content : in Input);
procedure Get (Source : in Builder);
private
pragma Inline (Length);
pragma Inline (Iterate);
type Block;
type Block_Access is access all Block;
type Block (Len : Positive) is limited record
Next_Block : Block_Access;
Last : Natural := 0;
Content : Input (1 .. Len);
end record;
type Builder (Len : Positive) is new Ada.Finalization.Limited_Controlled with record
Current : Block_Access;
Block_Size : Positive := Chunk_Size;
Length : Natural := 0;
First : aliased Block (Len);
end record;
pragma Finalize_Storage_Only (Builder);
-- Setup the builder.
overriding
procedure Initialize (Source : in out Builder);
-- Finalize the builder releasing the storage.
overriding
procedure Finalize (Source : in out Builder);
end Util.Texts.Builders;
|
charlie5/lace | Ada | 1,029 | ads | with
lace.Environ.Paths;
package lace.Environ.OS_Commands
--
-- Allows running of operating system commands.
--
is
function Path_to (Command : in String) return Paths.Folder;
procedure run_OS (command_Line : in String;
Input : in String := "");
--
-- Discards any output. The 'Error' exception is raised if the command fails.
function run_OS (command_Line : in String;
Input : in String := "") return Data;
--
-- Returns any output. The 'Error' exception is raised if the command fails.
function run_OS (command_Line : in String;
Input : in String := "";
add_Errors : in Boolean := True) return String;
--
-- Returns any output. Error output is appended if add_Errors is true.
function Executable_on_Path (Executable : Paths.File) return Boolean;
--
-- Returns True if the Executable exists on the environment PATH variable.
end lace.Environ.OS_Commands;
|
reznikmm/matreshka | Ada | 3,749 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Office_Conversion_Mode_Attributes is
pragma Preelaborate;
type ODF_Office_Conversion_Mode_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Office_Conversion_Mode_Attribute_Access is
access all ODF_Office_Conversion_Mode_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Office_Conversion_Mode_Attributes;
|
reznikmm/matreshka | Ada | 8,066 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
private with Ada.Containers.Vectors;
private with Ada.Containers.Hashed_Maps;
private with League.Strings.Hash;
private with XML.SAX.Attributes;
with XML.SAX.Content_Handlers;
with XML.SAX.Error_Handlers;
private with XML.SAX.Locators;
private with XML.SAX.Parse_Exceptions;
private with AMF.CMOF.Packages;
private with AMF.CMOF.Properties;
private with AMF.Elements;
with AMF.Internals.XMI_Readers;
with AMF.URI_Stores;
package AMF.Internals.XMI_Handlers is
type XMI_Handler
(Context : not null access AMF.Internals.XMI_Readers.XMI_Reader'Class) is
limited new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Error_Handlers.SAX_Error_Handler with private;
function Extent (Self : XMI_Handler) return AMF.URI_Stores.URI_Store_Access;
function Extent
(URI : League.Strings.Universal_String)
return AMF.URI_Stores.URI_Store_Access;
-- Returns extent with specified URI.
--
-- XXX Should be removed
private
package Element_Vectors is
new Ada.Containers.Vectors
(Positive, AMF.Elements.Element_Access, AMF.Elements."=");
type Postponed_Link is record
Element : AMF.Elements.Element_Access;
Attribute : AMF.CMOF.Properties.CMOF_Property_Access;
Id : League.Strings.Universal_String;
end record;
package Postponed_Link_Vectors is
new Ada.Containers.Vectors (Positive, Postponed_Link);
package String_Element_Maps is
new Ada.Containers.Hashed_Maps
(League.Strings.Universal_String,
AMF.Elements.Element_Access,
League.Strings.Hash,
League.Strings."=",
AMF.Elements."=");
package String_Package_Maps is
new Ada.Containers.Hashed_Maps
(League.Strings.Universal_String,
AMF.CMOF.Packages.CMOF_Package_Access,
League.Strings.Hash,
League.Strings."=",
AMF.CMOF.Packages."=");
type XMI_Handler
(Context : not null access AMF.Internals.XMI_Readers.XMI_Reader'Class) is
limited new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Error_Handlers.SAX_Error_Handler with
record
Extent : AMF.URI_Stores.URI_Store_Access;
Current : AMF.Elements.Element_Access;
Stack : Element_Vectors.Vector;
Attribute : AMF.CMOF.Properties.CMOF_Property_Access;
Text : League.Strings.Universal_String;
Collect_Text : Boolean := False;
Mapping : String_Element_Maps.Map;
Postponed : Postponed_Link_Vectors.Vector;
Skip_Element : Natural := 0;
XMI_Namespace : League.Strings.Universal_String;
-- Actual namespace of the XMI document.
URI_Package_Map : String_Package_Maps.Map;
Prefix_Package_Map : String_Package_Maps.Map;
-- Mapping from namespace URI and namespace prefix to the package of the
-- corresponding metamodel.
Diagnosis : League.Strings.Universal_String;
Locator : XML.SAX.Locators.SAX_Locator;
end record;
overriding procedure Characters
(Self : in out XMI_Handler;
Text : League.Strings.Universal_String;
Success : in out Boolean);
overriding procedure End_Document
(Self : in out XMI_Handler;
Success : in out Boolean);
overriding procedure End_Element
(Self : in out XMI_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Success : in out Boolean);
overriding function Error_String
(Self : XMI_Handler) return League.Strings.Universal_String;
overriding procedure Fatal_Error
(Self : in out XMI_Handler;
Occurrence : XML.SAX.Parse_Exceptions.SAX_Parse_Exception);
overriding procedure Set_Document_Locator
(Self : in out XMI_Handler;
Locator : XML.SAX.Locators.SAX_Locator);
overriding procedure Start_Document
(Self : in out XMI_Handler;
Success : in out Boolean);
overriding procedure Start_Element
(Self : in out XMI_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean);
overriding procedure Start_Prefix_Mapping
(Self : in out XMI_Handler;
Prefix : League.Strings.Universal_String;
Namespace_URI : League.Strings.Universal_String;
Success : in out Boolean);
end AMF.Internals.XMI_Handlers;
|
zhmu/ananas | Ada | 249 | adb | package body Lto9_Pkg2 is
procedure Put (List : in out List_Type;
Elem_Ptr : in Element_Ptr;
Location : in Index) is
begin
List.Elements(Location) := Elem_Ptr;
end Put;
end Lto9_Pkg2;
|
TamaMcGlinn/ada_raspio | Ada | 1,577 | ads | pragma Style_Checks (Off);
with x86_64_linux_gnu_bits_types_h;
package x86_64_linux_gnu_bits_stdint_uintn_h is
-- Define uintN_t types.
-- Copyright (C) 2017-2018 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
-- The GNU C Library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
-- You should have received a copy of the GNU Lesser General Public
-- License along with the GNU C Library; if not, see
-- <http://www.gnu.org/licenses/>.
subtype uint8_t is
x86_64_linux_gnu_bits_types_h
.uu_uint8_t; -- /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:24
subtype uint16_t is
x86_64_linux_gnu_bits_types_h
.uu_uint16_t; -- /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:25
subtype uint32_t is
x86_64_linux_gnu_bits_types_h
.uu_uint32_t; -- /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:26
subtype uint64_t is
x86_64_linux_gnu_bits_types_h
.uu_uint64_t; -- /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:27
end x86_64_linux_gnu_bits_stdint_uintn_h;
|
zhmu/ananas | Ada | 1,237 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . L O N G _ I N T E G E R _ W I D E _ W I D E _ T E X T _ I O --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
with Ada.Wide_Wide_Text_IO;
package Ada.Long_Integer_Wide_Wide_Text_IO is
new Ada.Wide_Wide_Text_IO.Integer_IO (Long_Integer);
|
zhmu/ananas | Ada | 63,784 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G E N _ I L . G E N . G E N _ N O D E S --
-- --
-- B o d y --
-- --
-- Copyright (C) 2020-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
procedure Gen_IL.Gen.Gen_Nodes is
procedure Ab -- Short for "Abstract"
(T : Abstract_Node; Parent : Abstract_Type;
Fields : Field_Sequence := No_Fields)
renames Create_Abstract_Node_Type;
procedure Cc -- Short for "ConCrete"
(T : Concrete_Node; Parent : Abstract_Type;
Fields : Field_Sequence := No_Fields;
Nmake_Assert : String := "")
renames Create_Concrete_Node_Type;
function Sy -- Short for "Syntactic"
(Field : Node_Field; Field_Type : Type_Enum;
Default_Value : Field_Default_Value := No_Default;
Pre, Pre_Get, Pre_Set : String := "") return Field_Desc
renames Create_Syntactic_Field;
function Sm -- Short for "Semantic"
(Field : Field_Enum; Field_Type : Type_Enum;
Type_Only : Type_Only_Enum := No_Type_Only;
Pre, Pre_Get, Pre_Set : String := "") return Field_Desc
renames Create_Semantic_Field;
procedure Union (T : Abstract_Node; Children : Type_Array)
renames Create_Node_Union_Type;
begin -- Gen_IL.Gen.Gen_Nodes
pragma Style_Checks ("M200");
Create_Root_Node_Type (Node_Kind,
(Sm (Nkind, Node_Kind_Type),
Sm (Sloc, Source_Ptr),
Sm (In_List, Flag),
Sm (Rewrite_Ins, Flag),
Sm (Comes_From_Source, Flag),
Sm (Analyzed, Flag),
Sm (Error_Posted, Flag),
Sm (Small_Paren_Count, Small_Paren_Count_Type),
Sm (Check_Actuals, Flag),
Sm (Has_Aspects, Flag),
Sm (Is_Ignored_Ghost_Node, Flag),
Sm (Link, Union_Id)));
Cc (N_Unused_At_Start, Node_Kind);
Ab (N_Representation_Clause, Node_Kind);
Cc (N_At_Clause, N_Representation_Clause,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Component_Clause, N_Representation_Clause,
(Sy (Component_Name, Node_Id),
Sy (Position, Node_Id),
Sy (First_Bit, Node_Id),
Sy (Last_Bit, Node_Id)));
Cc (N_Enumeration_Representation_Clause, N_Representation_Clause,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Array_Aggregate, Node_Id),
Sm (Next_Rep_Item, Node_Id)));
Cc (N_Mod_Clause, N_Representation_Clause,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Pragmas_Before, List_Id, Default_No_List)));
Cc (N_Record_Representation_Clause, N_Representation_Clause,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Mod_Clause, Node_Id, Default_Empty),
Sy (Component_Clauses, List_Id),
Sm (Next_Rep_Item, Node_Id)));
Cc (N_Attribute_Definition_Clause, N_Representation_Clause,
(Sy (Name, Node_Id, Default_Empty),
Sy (Chars, Name_Id, Default_No_Name),
Sy (Expression, Node_Id, Default_Empty),
Sm (Address_Warning_Posted, Flag),
Sm (Check_Address_Alignment, Flag),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Entity
Sm (From_Aspect_Specification, Flag),
Sm (From_At_Mod, Flag),
Sm (Is_Delayed_Aspect, Flag),
Sm (Next_Rep_Item, Node_Id)));
Cc (N_Empty, Node_Kind,
(Sy (Chars, Name_Id, Default_No_Name)));
-- The following getters and setters are called on Empty,
-- and are currently inherited from Node_Kind:
--
-- Set_Comes_From_Source
-- Set_Sloc
--
-- Comes_From_Source
-- Error_Posted
-- In_List
-- Link
-- Rewrite_Ins
-- Sloc
-- Small_Paren_Count
Cc (N_Pragma_Argument_Association, Node_Kind,
(Sy (Chars, Name_Id, Default_No_Name),
Sy (Expression, Node_Id, Default_Empty),
Sm (Expression_Copy, Node_Id)));
Ab (N_Has_Etype, Node_Kind,
(Sm (Etype, Node_Id)));
Cc (N_Error, N_Has_Etype,
(Sy (Chars, Name_Id, Default_No_Name)));
Ab (N_Entity, N_Has_Etype,
(Sm (Next_Entity, Node_Id),
Sm (Scope, Node_Id)));
Cc (N_Defining_Character_Literal, N_Entity,
(Sy (Chars, Name_Id, Default_No_Name)));
Cc (N_Defining_Identifier, N_Entity,
(Sy (Chars, Name_Id, Default_No_Name)));
Cc (N_Defining_Operator_Symbol, N_Entity,
(Sy (Chars, Name_Id, Default_No_Name)));
Ab (N_Subexpr, N_Has_Etype,
-- Nodes with expression fields
(Sm (Assignment_OK, Flag),
Sm (Do_Range_Check, Flag),
Sm (Has_Dynamic_Length_Check, Flag),
Sm (Is_Controlling_Actual, Flag),
Sm (Is_Overloaded, Flag),
Sm (Is_Static_Expression, Flag),
Sm (Must_Not_Freeze, Flag),
Sm (Raises_Constraint_Error, Flag)));
Ab (N_Has_Entity, N_Subexpr,
-- Nodes that have Entity fields
-- Warning: DOES NOT INCLUDE N_Freeze_Entity, N_Freeze_Generic_Entity,
-- N_Aspect_Specification, or N_Attribute_Definition_Clause.
(Sm (Entity_Or_Associated_Node, Node_Id))); -- both
Cc (N_Expanded_Name, N_Has_Entity,
(Sy (Chars, Name_Id, Default_No_Name),
Sy (Prefix, Node_Id),
Sy (Selector_Name, Node_Id, Default_Empty),
Sm (Atomic_Sync_Required, Flag),
Sm (Has_Private_View, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Redundant_Use, Flag)));
Ab (N_Direct_Name, N_Has_Entity,
(Sm (Has_Private_View, Flag)));
Cc (N_Identifier, N_Direct_Name,
(Sy (Chars, Name_Id, Default_No_Name),
Sm (Atomic_Sync_Required, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Original_Discriminant, Node_Id),
Sm (Redundant_Use, Flag)));
Cc (N_Operator_Symbol, N_Direct_Name,
(Sy (Chars, Name_Id, Default_No_Name),
Sy (Strval, String_Id)));
Cc (N_Character_Literal, N_Direct_Name,
(Sy (Chars, Name_Id, Default_No_Name),
Sy (Char_Literal_Value, Unat)));
Ab (N_Op, N_Has_Entity,
(Sm (Do_Overflow_Check, Flag),
Sm (Has_Private_View, Flag)));
Ab (N_Binary_Op, N_Op);
Cc (N_Op_Add, N_Binary_Op,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Concat, N_Binary_Op,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Is_Component_Left_Opnd, Flag),
Sm (Is_Component_Right_Opnd, Flag)));
Cc (N_Op_Expon, N_Binary_Op,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Is_Power_Of_2_For_Shift, Flag)));
Cc (N_Op_Subtract, N_Binary_Op,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Ab (N_Multiplying_Operator, N_Binary_Op);
Cc (N_Op_Divide, N_Multiplying_Operator,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Division_Check, Flag),
Sm (Rounded_Result, Flag)));
Cc (N_Op_Mod, N_Multiplying_Operator,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Division_Check, Flag)));
Cc (N_Op_Multiply, N_Multiplying_Operator,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Rounded_Result, Flag)));
Cc (N_Op_Rem, N_Multiplying_Operator,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Division_Check, Flag)));
Ab (N_Op_Boolean, N_Binary_Op);
-- Binary operators that take operands of a boolean type, and yield a
-- result of a boolean type.
Cc (N_Op_And, N_Op_Boolean,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Length_Check, Flag)));
Ab (N_Op_Compare, N_Op_Boolean);
Cc (N_Op_Eq, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Ge, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Gt, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Le, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Lt, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Ne, N_Op_Compare,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Or, N_Op_Boolean,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Length_Check, Flag)));
Cc (N_Op_Xor, N_Op_Boolean,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Do_Length_Check, Flag)));
Ab (N_Op_Shift, N_Binary_Op,
(Sm (Shift_Count_OK, Flag)));
Cc (N_Op_Rotate_Left, N_Op_Shift,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Rotate_Right, N_Op_Shift,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Shift_Left, N_Op_Shift,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Shift_Right, N_Op_Shift,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Shift_Right_Arithmetic, N_Op_Shift,
(Sm (Chars, Name_Id),
Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id)));
Ab (N_Unary_Op, N_Op);
Cc (N_Op_Abs, N_Unary_Op,
(Sm (Chars, Name_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Minus, N_Unary_Op,
(Sm (Chars, Name_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Not, N_Unary_Op,
(Sm (Chars, Name_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Op_Plus, N_Unary_Op,
(Sm (Chars, Name_Id),
Sy (Right_Opnd, Node_Id)));
Cc (N_Attribute_Reference, N_Has_Entity,
(Sy (Prefix, Node_Id),
Sy (Attribute_Name, Name_Id),
Sy (Expressions, List_Id, Default_No_List),
Sm (Do_Overflow_Check, Flag),
Sm (Header_Size_Added, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Must_Be_Byte_Aligned, Flag),
Sm (Redundant_Use, Flag)));
Ab (N_Membership_Test, N_Subexpr);
Cc (N_In, N_Membership_Test,
(Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sy (Alternatives, List_Id, Default_No_List),
Sy (No_Minimize_Eliminate, Flag)));
Cc (N_Not_In, N_Membership_Test,
(Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sy (Alternatives, List_Id, Default_No_List),
Sy (No_Minimize_Eliminate, Flag)));
Ab (N_Short_Circuit, N_Subexpr);
Cc (N_And_Then, N_Short_Circuit,
(Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Actions, List_Id)));
Cc (N_Or_Else, N_Short_Circuit,
(Sy (Left_Opnd, Node_Id),
Sy (Right_Opnd, Node_Id),
Sm (Actions, List_Id)));
Ab (N_Subprogram_Call, N_Subexpr,
(Sm (Controlling_Argument, Node_Id),
Sm (First_Named_Actual, Node_Id),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_Known_Guaranteed_ABE, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (No_Elaboration_Check, Flag)));
Cc (N_Function_Call, N_Subprogram_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Parameter_Associations, List_Id, Default_No_List),
Sm (Is_Expanded_Build_In_Place_Call, Flag),
Sm (No_Side_Effect_Removal, Flag)));
Cc (N_Procedure_Call_Statement, N_Subprogram_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Parameter_Associations, List_Id, Default_No_List)));
Ab (N_Raise_xxx_Error, N_Subexpr);
Cc (N_Raise_Constraint_Error, N_Raise_xxx_Error,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Reason, Unat)));
Cc (N_Raise_Program_Error, N_Raise_xxx_Error,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Reason, Unat)));
Cc (N_Raise_Storage_Error, N_Raise_xxx_Error,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Reason, Unat)));
Ab (N_Numeric_Or_String_Literal, N_Subexpr);
Cc (N_Integer_Literal, N_Numeric_Or_String_Literal,
(Sy (Intval, Valid_Uint),
Sm (Original_Entity, Node_Id),
Sm (Print_In_Hex, Flag)));
Cc (N_Real_Literal, N_Numeric_Or_String_Literal,
(Sy (Realval, Ureal),
Sm (Corresponding_Integer_Value, Valid_Uint),
Sm (Is_Machine_Number, Flag),
Sm (Original_Entity, Node_Id)));
Cc (N_String_Literal, N_Numeric_Or_String_Literal,
(Sy (Strval, String_Id),
Sy (Is_Folded_In_Parser, Flag),
Sm (Has_Wide_Character, Flag),
Sm (Has_Wide_Wide_Character, Flag)));
Cc (N_Explicit_Dereference, N_Subexpr,
(Sy (Prefix, Node_Id),
Sm (Actual_Designated_Subtype, Node_Id),
Sm (Atomic_Sync_Required, Flag),
Sm (Has_Dereference_Action, Flag)));
Cc (N_Expression_With_Actions, N_Subexpr,
(Sy (Actions, List_Id, Default_No_List),
Sy (Expression, Node_Id, Default_Empty)));
Cc (N_If_Expression, N_Subexpr,
(Sy (Expressions, List_Id, Default_No_List),
Sy (Is_Elsif, Flag),
Sm (Do_Overflow_Check, Flag),
Sm (Else_Actions, List_Id),
Sm (Then_Actions, List_Id)));
Cc (N_Indexed_Component, N_Subexpr,
(Sy (Prefix, Node_Id),
Sy (Expressions, List_Id, Default_No_List),
Sm (Atomic_Sync_Required, Flag),
Sm (Generalized_Indexing, Node_Id)));
Cc (N_Null, N_Subexpr);
Cc (N_Qualified_Expression, N_Subexpr,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (Is_Qualified_Universal_Literal, Flag)));
Cc (N_Quantified_Expression, N_Subexpr,
(Sy (Iterator_Specification, Node_Id, Default_Empty),
Sy (Loop_Parameter_Specification, Node_Id, Default_Empty),
Sy (Condition, Node_Id, Default_Empty),
Sy (All_Present, Flag)));
Cc (N_Aggregate, N_Subexpr,
(Sy (Expressions, List_Id, Default_No_List),
Sy (Component_Associations, List_Id, Default_No_List),
Sy (Null_Record_Present, Flag),
Sy (Is_Parenthesis_Aggregate, Flag),
Sy (Is_Homogeneous_Aggregate, Flag),
Sy (Is_Enum_Array_Aggregate, Flag),
Sm (Aggregate_Bounds, Node_Id),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Associated_Node
Sm (Compile_Time_Known_Aggregate, Flag),
Sm (Expansion_Delayed, Flag),
Sm (Has_Self_Reference, Flag)));
Cc (N_Allocator, N_Subexpr,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Subpool_Handle_Name, Node_Id, Default_Empty),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sm (Alloc_For_BIP_Return, Flag),
Sm (Do_Storage_Check, Flag),
Sm (Is_Dynamic_Coextension, Flag),
Sm (Is_Static_Coextension, Flag),
Sm (No_Initialization, Flag),
Sm (Procedure_To_Call, Node_Id),
Sm (Storage_Pool, Node_Id)));
Cc (N_Case_Expression, N_Subexpr,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Alternatives, List_Id, Default_No_List),
Sm (Do_Overflow_Check, Flag)));
Cc (N_Delta_Aggregate, N_Subexpr,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Component_Associations, List_Id, Default_No_List)));
Cc (N_Extension_Aggregate, N_Subexpr,
(Sy (Ancestor_Part, Node_Id),
Sy (Expressions, List_Id, Default_No_List),
Sy (Component_Associations, List_Id, Default_No_List),
Sy (Null_Record_Present, Flag),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Associated_Node
Sm (Expansion_Delayed, Flag),
Sm (Has_Self_Reference, Flag)));
Cc (N_Raise_Expression, N_Subexpr,
(Sy (Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (Convert_To_Return_False, Flag)));
Cc (N_Range, N_Subexpr,
(Sy (Low_Bound, Node_Id),
Sy (High_Bound, Node_Id),
Sy (Includes_Infinities, Flag)));
Cc (N_Reference, N_Subexpr,
(Sy (Prefix, Node_Id)));
Cc (N_Selected_Component, N_Subexpr,
(Sy (Prefix, Node_Id),
Sy (Selector_Name, Node_Id, Default_Empty),
Sm (Atomic_Sync_Required, Flag),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Associated_Node
Sm (Do_Discriminant_Check, Flag),
Sm (Is_In_Discriminant_Check, Flag),
Sm (Is_Prefixed_Call, Flag)));
Cc (N_Slice, N_Subexpr,
(Sy (Prefix, Node_Id),
Sy (Discrete_Range, Node_Id)));
Cc (N_Target_Name, N_Subexpr);
Cc (N_Type_Conversion, N_Subexpr,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (Conversion_OK, Flag),
Sm (Do_Discriminant_Check, Flag),
Sm (Do_Length_Check, Flag),
Sm (Do_Overflow_Check, Flag),
Sm (Float_Truncate, Flag),
Sm (Rounded_Result, Flag)));
Cc (N_Unchecked_Expression, N_Subexpr,
(Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Unchecked_Type_Conversion, N_Subexpr,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (Kill_Range_Check, Flag),
Sm (No_Truncation, Flag)),
Nmake_Assert => "True or else Nkind (Expression) /= N_Unchecked_Type_Conversion");
-- Nmake_Assert => "Nkind (Expression) /= N_Unchecked_Type_Conversion");
-- Assert that we don't have unchecked conversions of unchecked
-- conversions; if Expression might be an unchecked conversion,
-- then Tbuild.Unchecked_Convert_To should be used.
Cc (N_Subtype_Indication, N_Has_Etype,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Constraint, Node_Id),
Sm (Must_Not_Freeze, Flag)));
Ab (N_Declaration, Node_Kind);
-- Note: this includes all constructs normally thought of as declarations
-- except those that are separately grouped in N_Later_Decl_Item. But
-- Declaration_Node may return yet more node types; see N_Is_Decl below.
Cc (N_Component_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Component_Definition, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag)));
Cc (N_Entry_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discrete_Subtype_Definition, Node_Id, Default_Empty),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Must_Override, Flag),
Sy (Must_Not_Override, Flag),
Sm (Corresponding_Body, Node_Id)));
Cc (N_Expression_Function, N_Declaration,
(Sy (Specification, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (Corresponding_Spec, Node_Id)));
Cc (N_Formal_Object_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (In_Present, Flag),
Sy (Out_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Access_Definition, Node_Id, Default_Empty),
Sy (Default_Expression, Node_Id, Default_Empty),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag)));
Cc (N_Formal_Type_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Formal_Type_Definition, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Unknown_Discriminants_Present, Flag),
Sy (Default_Subtype_Mark, Node_Id)));
Cc (N_Full_Type_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Type_Definition, Node_Id),
Sm (Discr_Check_Funcs_Built, Flag),
Sm (Incomplete_View, Node_Id)));
Cc (N_Incomplete_Type_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Unknown_Discriminants_Present, Flag),
Sy (Tagged_Present, Flag),
Sm (Premature_Use, Node_Id)));
Cc (N_Iterator_Specification, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sy (Reverse_Present, Flag),
Sy (Of_Present, Flag),
Sy (Iterator_Filter, Node_Id, Default_Empty),
Sy (Subtype_Indication, Node_Id, Default_Empty)));
Cc (N_Loop_Parameter_Specification, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Reverse_Present, Flag),
Sy (Iterator_Filter, Node_Id, Default_Empty),
Sy (Discrete_Subtype_Definition, Node_Id, Default_Empty)));
Cc (N_Object_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Aliased_Present, Flag),
Sy (Constant_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Object_Definition, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sy (Has_Init_Expression, Flag),
Sm (Assignment_OK, Flag),
Sm (Corresponding_Generic_Association, Node_Id),
Sm (Exception_Junk, Flag),
Sm (Handler_List_Entry, Node_Id),
Sm (Is_Subprogram_Descriptor, Flag),
Sm (More_Ids, Flag),
Sm (No_Initialization, Flag),
Sm (Prev_Ids, Flag),
Sm (Suppress_Assignment_Checks, Flag)));
Cc (N_Protected_Type_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Interface_List, List_Id, Default_No_List),
Sy (Protected_Definition, Node_Id),
Sm (Corresponding_Body, Node_Id)));
Cc (N_Private_Extension_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Unknown_Discriminants_Present, Flag),
Sy (Abstract_Present, Flag),
Sy (Limited_Present, Flag),
Sy (Synchronized_Present, Flag),
Sy (Subtype_Indication, Node_Id, Default_Empty),
Sy (Interface_List, List_Id, Default_No_List),
Sm (Uninitialized_Variable, Node_Id)));
Cc (N_Private_Type_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Unknown_Discriminants_Present, Flag),
Sy (Abstract_Present, Flag),
Sy (Tagged_Present, Flag),
Sy (Limited_Present, Flag)));
Cc (N_Subtype_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Subtype_Indication, Node_Id, Default_Empty),
Sm (Exception_Junk, Flag),
Sm (Generic_Parent_Type, Node_Id)));
Ab (N_Subprogram_Specification, N_Declaration,
(Sm (Generic_Parent, Node_Id)));
Cc (N_Function_Specification, N_Subprogram_Specification,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Result_Definition, Node_Id),
Sy (Must_Override, Flag),
Sy (Must_Not_Override, Flag)));
Cc (N_Procedure_Specification, N_Subprogram_Specification,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Null_Present, Flag),
Sy (Must_Override, Flag),
Sy (Must_Not_Override, Flag),
Sm (Null_Statement, Node_Id)));
Ab (N_Access_To_Subprogram_Definition, Node_Kind);
Cc (N_Access_Function_Definition, N_Access_To_Subprogram_Definition,
(Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Null_Exclusion_In_Return_Present, Flag),
Sy (Protected_Present, Flag),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Result_Definition, Node_Id)));
Cc (N_Access_Procedure_Definition, N_Access_To_Subprogram_Definition,
(Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Protected_Present, Flag),
Sy (Parameter_Specifications, List_Id, Default_No_List)));
Ab (N_Later_Decl_Item, Node_Kind);
-- Note: this is Ada 83 relevant only (see Ada 83 RM 3.9 (2)) and includes
-- only those items which can appear as later declarative items. This also
-- includes N_Implicit_Label_Declaration which is not specifically in the
-- grammar but may appear as a valid later declarative items. It does NOT
-- include N_Pragma which can also appear among later declarative items.
-- It does however include N_Protected_Body, which is a bit peculiar, but
-- harmless since this cannot appear in Ada 83 mode anyway.
Cc (N_Task_Type_Declaration, N_Later_Decl_Item,
(Sy (Defining_Identifier, Node_Id),
Sy (Discriminant_Specifications, List_Id, Default_No_List),
Sy (Interface_List, List_Id, Default_No_List),
Sy (Task_Definition, Node_Id, Default_Empty),
Sm (Corresponding_Body, Node_Id)));
Ab (N_Body_Stub, N_Later_Decl_Item,
(Sm (Corresponding_Body, Node_Id),
Sm (Corresponding_Spec_Of_Stub, Node_Id),
Sm (Library_Unit, Node_Id)));
Cc (N_Package_Body_Stub, N_Body_Stub,
(Sy (Defining_Identifier, Node_Id)));
Cc (N_Protected_Body_Stub, N_Body_Stub,
(Sy (Defining_Identifier, Node_Id)));
Cc (N_Subprogram_Body_Stub, N_Body_Stub,
(Sy (Specification, Node_Id)));
Cc (N_Task_Body_Stub, N_Body_Stub,
(Sy (Defining_Identifier, Node_Id)));
Ab (N_Generic_Instantiation, N_Later_Decl_Item,
(Sm (Instance_Spec, Node_Id),
Sm (Is_Declaration_Level_Node, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_Known_Guaranteed_ABE, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Parent_Spec, Node_Id)));
Ab (N_Subprogram_Instantiation, N_Generic_Instantiation);
Cc (N_Function_Instantiation, N_Subprogram_Instantiation,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sy (Generic_Associations, List_Id, Default_No_List),
Sy (Must_Override, Flag),
Sy (Must_Not_Override, Flag)));
Cc (N_Procedure_Instantiation, N_Subprogram_Instantiation,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sy (Generic_Associations, List_Id, Default_No_List),
Sy (Must_Override, Flag),
Sy (Must_Not_Override, Flag)));
Cc (N_Package_Instantiation, N_Generic_Instantiation,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sy (Generic_Associations, List_Id, Default_No_List)));
Ab (N_Proper_Body, N_Later_Decl_Item,
(Sm (Corresponding_Spec, Node_Id),
Sm (Was_Originally_Stub, Flag)));
Ab (N_Unit_Body, N_Proper_Body);
Cc (N_Package_Body, N_Unit_Body,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Declarations, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty)));
Cc (N_Subprogram_Body, N_Unit_Body,
(Sy (Specification, Node_Id),
Sy (Declarations, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sy (Bad_Is_Detected, Flag),
Sm (Activation_Chain_Entity, Node_Id),
Sm (Acts_As_Spec, Flag),
Sm (Corresponding_Entry_Body, Node_Id),
Sm (Do_Storage_Check, Flag),
Sm (Has_Relative_Deadline_Pragma, Flag),
Sm (Is_Entry_Barrier_Function, Flag),
Sm (Is_Protected_Subprogram_Body, Flag),
Sm (Is_Task_Body_Procedure, Flag),
Sm (Is_Task_Master, Flag),
Sm (Was_Attribute_Reference, Flag),
Sm (Was_Expression_Function, Flag)));
Cc (N_Protected_Body, N_Proper_Body,
(Sy (Defining_Identifier, Node_Id),
Sy (Declarations, List_Id, Default_No_List),
Sy (End_Label, Node_Id, Default_Empty)));
Cc (N_Task_Body, N_Proper_Body,
(Sy (Defining_Identifier, Node_Id),
Sy (Declarations, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sm (Activation_Chain_Entity, Node_Id),
Sm (Is_Task_Master, Flag)));
Cc (N_Implicit_Label_Declaration, N_Later_Decl_Item,
(Sy (Defining_Identifier, Node_Id),
Sm (Label_Construct, Node_Id)));
Cc (N_Package_Declaration, N_Later_Decl_Item,
(Sy (Specification, Node_Id),
Sm (Activation_Chain_Entity, Node_Id),
Sm (Corresponding_Body, Node_Id),
Sm (Parent_Spec, Node_Id)));
Cc (N_Single_Task_Declaration, N_Later_Decl_Item,
(Sy (Defining_Identifier, Node_Id),
Sy (Interface_List, List_Id, Default_No_List),
Sy (Task_Definition, Node_Id, Default_Empty)));
Cc (N_Subprogram_Declaration, N_Later_Decl_Item,
(Sy (Specification, Node_Id),
Sm (Body_To_Inline, Node_Id),
Sm (Corresponding_Body, Node_Id),
Sm (Is_Entry_Barrier_Function, Flag),
Sm (Is_Task_Body_Procedure, Flag),
Sm (Parent_Spec, Node_Id)));
Cc (N_Use_Package_Clause, N_Later_Decl_Item,
(Sy (Name, Node_Id, Default_Empty),
Sy (Is_Effective_Use_Clause, Flag),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Associated_Node
Sm (Hidden_By_Use_Clause, Elist_Id),
Sm (More_Ids, Flag),
Sm (Next_Use_Clause, Node_Id),
Sm (Prev_Ids, Flag),
Sm (Prev_Use_Clause, Node_Id)));
Ab (N_Generic_Declaration, N_Later_Decl_Item,
(Sm (Corresponding_Body, Node_Id),
Sm (Parent_Spec, Node_Id)));
Cc (N_Generic_Package_Declaration, N_Generic_Declaration,
(Sy (Specification, Node_Id),
Sy (Generic_Formal_Declarations, List_Id),
Sm (Activation_Chain_Entity, Node_Id)));
Cc (N_Generic_Subprogram_Declaration, N_Generic_Declaration,
(Sy (Specification, Node_Id),
Sy (Generic_Formal_Declarations, List_Id)));
Ab (N_Array_Type_Definition, Node_Kind);
Cc (N_Constrained_Array_Definition, N_Array_Type_Definition,
(Sy (Discrete_Subtype_Definitions, List_Id),
Sy (Component_Definition, Node_Id)));
Cc (N_Unconstrained_Array_Definition, N_Array_Type_Definition,
(Sy (Subtype_Marks, List_Id),
Sy (Component_Definition, Node_Id)));
Ab (N_Renaming_Declaration, Node_Kind);
Cc (N_Exception_Renaming_Declaration, N_Renaming_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Name, Node_Id, Default_Empty)));
Cc (N_Object_Renaming_Declaration, N_Renaming_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Access_Definition, Node_Id, Default_Empty),
Sy (Name, Node_Id, Default_Empty),
Sm (Corresponding_Generic_Association, Node_Id)));
Cc (N_Package_Renaming_Declaration, N_Renaming_Declaration,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sm (Parent_Spec, Node_Id)));
Cc (N_Subprogram_Renaming_Declaration, N_Renaming_Declaration,
(Sy (Specification, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sm (Corresponding_Formal_Spec, Node_Id),
Sm (Corresponding_Spec, Node_Id),
Sm (From_Default, Flag),
Sm (Parent_Spec, Node_Id)));
Ab (N_Generic_Renaming_Declaration, N_Renaming_Declaration,
(Sm (Parent_Spec, Node_Id)));
Cc (N_Generic_Function_Renaming_Declaration, N_Generic_Renaming_Declaration,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty)));
Cc (N_Generic_Package_Renaming_Declaration, N_Generic_Renaming_Declaration,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty)));
Cc (N_Generic_Procedure_Renaming_Declaration, N_Generic_Renaming_Declaration,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Name, Node_Id, Default_Empty)));
Ab (N_Statement_Other_Than_Procedure_Call, Node_Kind);
-- Note that this includes all statement types except for the cases of the
-- N_Procedure_Call_Statement which is considered to be a subexpression
-- (since overloading is possible, so it needs to go through the normal
-- overloading resolution for expressions).
Cc (N_Abort_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Names, List_Id)));
Cc (N_Accept_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Entry_Direct_Name, Node_Id),
Sy (Entry_Index, Node_Id, Default_Empty),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sy (Declarations, List_Id, Default_No_List)));
Cc (N_Assignment_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (Backwards_OK, Flag),
Sm (Componentwise_Assignment, Flag),
Sm (Do_Discriminant_Check, Flag),
Sm (Do_Length_Check, Flag),
Sm (Forwards_OK, Flag),
Sm (Has_Target_Names, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Code, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (No_Ctrl_Actions, Flag),
Sm (Suppress_Assignment_Checks, Flag)));
Cc (N_Asynchronous_Select, N_Statement_Other_Than_Procedure_Call,
(Sy (Triggering_Alternative, Node_Id),
Sy (Abortable_Part, Node_Id)));
Cc (N_Block_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Declarations, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sy (Has_Created_Identifier, Flag),
Sy (Is_Asynchronous_Call_Block, Flag),
Sy (Is_Task_Allocation_Block, Flag),
Sm (Activation_Chain_Entity, Node_Id),
Sm (Cleanup_Actions, List_Id),
Sm (Exception_Junk, Flag),
Sm (Is_Abort_Block, Flag),
Sm (Is_Finalization_Wrapper, Flag),
Sm (Is_Initialization_Block, Flag),
Sm (Is_Task_Master, Flag)));
Cc (N_Case_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Alternatives, List_Id, Default_No_List),
Sy (End_Span, Unat, Default_Uint_0),
Sm (From_Conditional_Expression, Flag)));
Cc (N_Code_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Compound_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Actions, List_Id, Default_No_List)));
Cc (N_Conditional_Entry_Call, N_Statement_Other_Than_Procedure_Call,
(Sy (Entry_Call_Alternative, Node_Id),
Sy (Else_Statements, List_Id, Default_No_List)));
Ab (N_Delay_Statement, N_Statement_Other_Than_Procedure_Call);
Cc (N_Delay_Relative_Statement, N_Delay_Statement,
(Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Delay_Until_Statement, N_Delay_Statement,
(Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Entry_Call_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Parameter_Associations, List_Id, Default_No_List),
Sm (First_Named_Actual, Node_Id),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag)));
Cc (N_Free_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Expression, Node_Id, Default_Empty),
Sm (Actual_Designated_Subtype, Node_Id),
Sm (Procedure_To_Call, Node_Id),
Sm (Storage_Pool, Node_Id)));
Cc (N_Goto_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sm (Exception_Junk, Flag)));
Cc (N_Goto_When_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Condition, Node_Id, Default_Empty)));
Cc (N_Loop_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Iteration_Scheme, Node_Id, Default_Empty),
Sy (Statements, List_Id, Default_Empty_List),
Sy (End_Label, Node_Id, Default_Empty),
Sy (Has_Created_Identifier, Flag),
Sy (Is_Null_Loop, Flag),
Sy (Suppress_Loop_Warnings, Flag)));
Cc (N_Null_Statement, N_Statement_Other_Than_Procedure_Call,
(Sm (Next_Rep_Item, Node_Id)));
Cc (N_Raise_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sm (From_At_End, Flag)));
Cc (N_Raise_When_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Condition, Node_Id, Default_Empty)));
Cc (N_Requeue_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Abort_Present, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag)));
Cc (N_Simple_Return_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Expression, Node_Id, Default_Empty),
Sm (By_Ref, Flag),
Sm (Comes_From_Extended_Return_Statement, Flag),
Sm (Procedure_To_Call, Node_Id),
Sm (Return_Statement_Entity, Node_Id),
Sm (Storage_Pool, Node_Id)));
Cc (N_Extended_Return_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Return_Object_Declarations, List_Id),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sm (By_Ref, Flag),
Sm (Procedure_To_Call, Node_Id),
Sm (Return_Statement_Entity, Node_Id),
Sm (Storage_Pool, Node_Id)));
Cc (N_Return_When_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Expression, Node_Id, Default_Empty),
Sy (Condition, Node_Id, Default_Empty)));
Cc (N_Selective_Accept, N_Statement_Other_Than_Procedure_Call,
(Sy (Select_Alternatives, List_Id),
Sy (Else_Statements, List_Id, Default_No_List)));
Cc (N_Timed_Entry_Call, N_Statement_Other_Than_Procedure_Call,
(Sy (Entry_Call_Alternative, Node_Id),
Sy (Delay_Alternative, Node_Id)));
Cc (N_Exit_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Name, Node_Id, Default_Empty),
Sy (Condition, Node_Id, Default_Empty),
Sm (Next_Exit_Statement, Node_Id)));
Cc (N_If_Statement, N_Statement_Other_Than_Procedure_Call,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Then_Statements, List_Id),
Sy (Elsif_Parts, List_Id, Default_No_List),
Sy (Else_Statements, List_Id, Default_No_List),
Sy (End_Span, Unat, Default_Uint_0),
Sm (From_Conditional_Expression, Flag)));
Cc (N_Accept_Alternative, Node_Kind,
(Sy (Accept_Statement, Node_Id),
Sy (Condition, Node_Id, Default_Empty),
Sy (Statements, List_Id, Default_Empty_List),
Sy (Pragmas_Before, List_Id, Default_No_List),
Sm (Accept_Handler_Records, List_Id)));
Cc (N_Delay_Alternative, Node_Kind,
(Sy (Delay_Statement, Node_Id),
Sy (Condition, Node_Id, Default_Empty),
Sy (Statements, List_Id, Default_Empty_List),
Sy (Pragmas_Before, List_Id, Default_No_List)));
Cc (N_Elsif_Part, Node_Kind,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Then_Statements, List_Id),
Sm (Condition_Actions, List_Id)));
Cc (N_Entry_Body_Formal_Part, Node_Kind,
(Sy (Entry_Index_Specification, Node_Id, Default_Empty),
Sy (Parameter_Specifications, List_Id, Default_No_List),
Sy (Condition, Node_Id, Default_Empty)));
Cc (N_Iteration_Scheme, Node_Kind,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Iterator_Specification, Node_Id, Default_Empty),
Sy (Loop_Parameter_Specification, Node_Id, Default_Empty),
Sm (Condition_Actions, List_Id)));
Cc (N_Terminate_Alternative, Node_Kind,
(Sy (Condition, Node_Id, Default_Empty),
Sy (Pragmas_Before, List_Id, Default_No_List),
Sy (Pragmas_After, List_Id, Default_No_List)));
Ab (N_Formal_Subprogram_Declaration, Node_Kind);
Cc (N_Formal_Abstract_Subprogram_Declaration, N_Formal_Subprogram_Declaration,
(Sy (Specification, Node_Id),
Sy (Default_Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Box_Present, Flag)));
Cc (N_Formal_Concrete_Subprogram_Declaration, N_Formal_Subprogram_Declaration,
(Sy (Specification, Node_Id),
Sy (Default_Name, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Box_Present, Flag)));
Ab (N_Push_Pop_xxx_Label, Node_Kind);
Ab (N_Push_xxx_Label, N_Push_Pop_xxx_Label,
(Sm (Exception_Label, Node_Id)));
Cc (N_Push_Constraint_Error_Label, N_Push_xxx_Label);
Cc (N_Push_Program_Error_Label, N_Push_xxx_Label);
Cc (N_Push_Storage_Error_Label, N_Push_xxx_Label);
Ab (N_Pop_xxx_Label, N_Push_Pop_xxx_Label);
Cc (N_Pop_Constraint_Error_Label, N_Pop_xxx_Label);
Cc (N_Pop_Program_Error_Label, N_Pop_xxx_Label);
Cc (N_Pop_Storage_Error_Label, N_Pop_xxx_Label);
Ab (N_SCIL_Node, Node_Kind,
(Sm (SCIL_Entity, Node_Id)));
Cc (N_SCIL_Dispatch_Table_Tag_Init, N_SCIL_Node);
Cc (N_SCIL_Dispatching_Call, N_SCIL_Node,
(Sm (SCIL_Controlling_Tag, Node_Id),
Sm (SCIL_Target_Prim, Node_Id)));
Cc (N_SCIL_Membership_Test, N_SCIL_Node,
(Sm (SCIL_Tag_Value, Node_Id)));
Cc (N_Abortable_Part, Node_Kind,
(Sy (Statements, List_Id, Default_Empty_List)));
Cc (N_Abstract_Subprogram_Declaration, Node_Kind,
(Sy (Specification, Node_Id)));
Cc (N_Access_Definition, Node_Kind,
(Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (All_Present, Flag),
Sy (Constant_Present, Flag),
Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Access_To_Subprogram_Definition, Node_Id, Default_Empty)));
Cc (N_Access_To_Object_Definition, Node_Kind,
(Sy (All_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Null_Excluding_Subtype, Flag),
Sy (Subtype_Indication, Node_Id, Default_Empty),
Sy (Constant_Present, Flag)));
Cc (N_Aspect_Specification, Node_Kind,
(Sy (Identifier, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Class_Present, Flag),
Sy (Split_PPC, Flag),
Sm (Aspect_On_Partial_View, Flag),
Sm (Aspect_Rep_Item, Node_Id),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Entity
Sm (Is_Boolean_Aspect, Flag),
Sm (Is_Checked, Flag),
Sm (Is_Delayed_Aspect, Flag),
Sm (Is_Disabled, Flag),
Sm (Is_Ignored, Flag),
Sm (Next_Rep_Item, Node_Id)));
Cc (N_Call_Marker, Node_Kind,
(Sm (Is_Declaration_Level_Node, Flag),
Sm (Is_Dispatching_Call, Flag),
Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_Known_Guaranteed_ABE, Flag),
Sm (Is_Preelaborable_Call, Flag),
Sm (Is_Source_Call, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Target, Node_Id)));
Cc (N_Case_Expression_Alternative, Node_Kind,
(Sm (Actions, List_Id),
Sy (Discrete_Choices, List_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (Has_SP_Choice, Flag)));
Cc (N_Case_Statement_Alternative, Node_Kind,
(Sy (Discrete_Choices, List_Id),
Sy (Statements, List_Id, Default_Empty_List),
Sm (Has_SP_Choice, Flag),
Sm (Multidefined_Bindings, Flag)));
Cc (N_Compilation_Unit, Node_Kind,
(Sy (Context_Items, List_Id),
Sy (Private_Present, Flag),
Sy (Unit, Node_Id),
Sy (Aux_Decls_Node, Node_Id),
Sm (Acts_As_Spec, Flag),
Sm (Body_Required, Flag),
Sm (Context_Pending, Flag),
Sm (First_Inlined_Subprogram, Node_Id),
Sm (Has_No_Elaboration_Code, Flag),
Sm (Has_Pragma_Suppress_All, Flag),
Sm (Library_Unit, Node_Id),
Sm (Save_Invocation_Graph_Of_Body, Flag)));
Cc (N_Compilation_Unit_Aux, Node_Kind,
(Sy (Declarations, List_Id, Default_No_List),
Sy (Actions, List_Id, Default_No_List),
Sy (Pragmas_After, List_Id, Default_No_List),
Sy (Config_Pragmas, List_Id, Default_Empty_List),
Sm (Default_Storage_Pool, Node_Id)));
Cc (N_Component_Association, Node_Kind,
(Sy (Choices, List_Id),
Sy (Expression, Node_Id, Default_Empty),
Sy (Box_Present, Flag),
Sy (Inherited_Discriminant, Flag),
Sy (Binding_Chars, Name_Id, Default_No_Name),
Sm (Loop_Actions, List_Id),
Sm (Was_Default_Init_Box_Association, Flag)));
Cc (N_Component_Definition, Node_Kind,
(Sy (Aliased_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Subtype_Indication, Node_Id, Default_Empty),
Sy (Access_Definition, Node_Id, Default_Empty)));
Cc (N_Component_List, Node_Kind,
(Sy (Component_Items, List_Id),
Sy (Variant_Part, Node_Id, Default_Empty),
Sy (Null_Present, Flag)));
Cc (N_Contract, Node_Kind,
(Sm (Classifications, Node_Id),
Sm (Contract_Test_Cases, Node_Id),
Sm (Is_Expanded_Contract, Flag),
Sm (Pre_Post_Conditions, Node_Id)));
Cc (N_Derived_Type_Definition, Node_Kind,
(Sy (Abstract_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Subtype_Indication, Node_Id, Default_Empty),
Sy (Record_Extension_Part, Node_Id, Default_Empty),
Sy (Limited_Present, Flag),
Sy (Task_Present, Flag),
Sy (Protected_Present, Flag),
Sy (Synchronized_Present, Flag),
Sy (Interface_List, List_Id, Default_No_List),
Sy (Interface_Present, Flag)));
Cc (N_Decimal_Fixed_Point_Definition, Node_Kind,
(Sy (Delta_Expression, Node_Id),
Sy (Digits_Expression, Node_Id),
Sy (Real_Range_Specification, Node_Id, Default_Empty)));
Cc (N_Defining_Program_Unit_Name, Node_Kind,
(Sy (Name, Node_Id, Default_Empty),
Sy (Defining_Identifier, Node_Id)));
Cc (N_Delta_Constraint, Node_Kind,
(Sy (Delta_Expression, Node_Id),
Sy (Range_Constraint, Node_Id, Default_Empty)));
Cc (N_Designator, Node_Kind,
(Sy (Name, Node_Id, Default_Empty),
Sy (Identifier, Node_Id, Default_Empty)));
Cc (N_Digits_Constraint, Node_Kind,
(Sy (Digits_Expression, Node_Id),
Sy (Range_Constraint, Node_Id, Default_Empty)));
Cc (N_Discriminant_Association, Node_Kind,
(Sy (Selector_Names, List_Id),
Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Discriminant_Specification, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Discriminant_Type, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag)));
Cc (N_Enumeration_Type_Definition, Node_Kind,
(Sy (Literals, List_Id),
Sy (End_Label, Node_Id, Default_Empty)));
Cc (N_Entry_Body, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Entry_Body_Formal_Part, Node_Id),
Sy (Declarations, List_Id, Default_No_List),
Sy (Handled_Statement_Sequence, Node_Id, Default_Empty),
Sm (Activation_Chain_Entity, Node_Id)));
Cc (N_Entry_Call_Alternative, Node_Kind,
(Sy (Entry_Call_Statement, Node_Id),
Sy (Statements, List_Id, Default_Empty_List),
Sy (Pragmas_Before, List_Id, Default_No_List)));
Cc (N_Entry_Index_Specification, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Discrete_Subtype_Definition, Node_Id, Default_Empty)));
Cc (N_Exception_Declaration, N_Declaration,
(Sy (Defining_Identifier, Node_Id),
Sm (Expression, Node_Id),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag),
Sm (Renaming_Exception, Node_Id)));
Cc (N_Exception_Handler, Node_Kind,
(Sy (Choice_Parameter, Node_Id, Default_Empty),
Sy (Exception_Choices, List_Id),
Sy (Statements, List_Id, Default_Empty_List),
Sm (Exception_Label, Node_Id),
Sm (Has_Local_Raise, Flag),
Sm (Local_Raise_Not_OK, Flag),
Sm (Local_Raise_Statements, Elist_Id)));
Cc (N_Floating_Point_Definition, Node_Kind,
(Sy (Digits_Expression, Node_Id),
Sy (Real_Range_Specification, Node_Id, Default_Empty)));
Cc (N_Formal_Decimal_Fixed_Point_Definition, Node_Kind);
Cc (N_Formal_Derived_Type_Definition, Node_Kind,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Private_Present, Flag),
Sy (Abstract_Present, Flag),
Sy (Limited_Present, Flag),
Sy (Synchronized_Present, Flag),
Sy (Interface_List, List_Id, Default_No_List)));
Cc (N_Formal_Discrete_Type_Definition, Node_Kind);
Cc (N_Formal_Floating_Point_Definition, Node_Kind);
Cc (N_Formal_Modular_Type_Definition, Node_Kind);
Cc (N_Formal_Ordinary_Fixed_Point_Definition, Node_Kind);
Cc (N_Formal_Package_Declaration, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Name, Node_Id, Default_Empty),
Sy (Generic_Associations, List_Id, Default_No_List),
Sy (Box_Present, Flag),
Sm (Instance_Spec, Node_Id),
Sm (Is_Known_Guaranteed_ABE, Flag)));
Cc (N_Formal_Private_Type_Definition, Node_Kind,
(Sy (Abstract_Present, Flag),
Sy (Tagged_Present, Flag),
Sy (Limited_Present, Flag),
Sm (Uninitialized_Variable, Node_Id)));
Cc (N_Formal_Incomplete_Type_Definition, Node_Kind,
(Sy (Tagged_Present, Flag)));
Cc (N_Formal_Signed_Integer_Type_Definition, Node_Kind);
Cc (N_Freeze_Entity, Node_Kind,
(Sy (Actions, List_Id, Default_No_List),
Sm (Access_Types_To_Process, Elist_Id),
Sm (Entity_Or_Associated_Node, Node_Id), -- just Entity
Sm (First_Subtype_Link, Node_Id),
Sm (TSS_Elist, Elist_Id)));
Cc (N_Freeze_Generic_Entity, Node_Kind,
Sm (Entity_Or_Associated_Node, Node_Id)); -- just Entity
Cc (N_Generic_Association, Node_Kind,
(Sy (Selector_Name, Node_Id, Default_Empty),
Sy (Explicit_Generic_Actual_Parameter, Node_Id),
Sy (Box_Present, Flag)));
Cc (N_Handled_Sequence_Of_Statements, Node_Kind,
(Sy (Statements, List_Id, Default_Empty_List),
Sy (End_Label, Node_Id, Default_Empty),
Sy (Exception_Handlers, List_Id, Default_No_List),
Sy (At_End_Proc, Node_Id, Default_Empty),
Sm (First_Real_Statement, Node_Id)));
Cc (N_Index_Or_Discriminant_Constraint, Node_Kind,
(Sy (Constraints, List_Id)));
Cc (N_Iterated_Component_Association, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Iterator_Specification, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Discrete_Choices, List_Id),
Sy (Box_Present, Flag),
Sm (Loop_Actions, List_Id)));
Cc (N_Iterated_Element_Association, Node_Kind,
(Sy (Key_Expression, Node_Id),
Sy (Iterator_Specification, Node_Id, Default_Empty),
Sy (Expression, Node_Id, Default_Empty),
Sy (Loop_Parameter_Specification, Node_Id, Default_Empty),
Sy (Box_Present, Flag),
Sm (Loop_Actions, List_Id)));
Cc (N_Itype_Reference, Node_Kind,
(Sm (Itype, Node_Id)));
Cc (N_Label, Node_Kind,
(Sy (Identifier, Node_Id, Default_Empty),
Sm (Exception_Junk, Flag)));
Cc (N_Modular_Type_Definition, Node_Kind,
(Sy (Expression, Node_Id, Default_Empty)));
Cc (N_Number_Declaration, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag)));
Cc (N_Ordinary_Fixed_Point_Definition, Node_Kind,
(Sy (Delta_Expression, Node_Id),
Sy (Real_Range_Specification, Node_Id, Default_Empty)));
Cc (N_Others_Choice, Node_Kind,
(Sm (All_Others, Flag),
Sm (Others_Discrete_Choices, List_Id)));
Cc (N_Package_Specification, Node_Kind,
(Sy (Defining_Unit_Name, Node_Id),
Sy (Visible_Declarations, List_Id),
Sy (Private_Declarations, List_Id, Default_No_List),
Sy (End_Label, Node_Id, Default_Empty),
Sm (Generic_Parent, Node_Id),
Sm (Limited_View_Installed, Flag)));
Cc (N_Parameter_Association, Node_Kind,
(Sy (Selector_Name, Node_Id, Default_Empty),
Sy (Explicit_Actual_Parameter, Node_Id),
Sm (Is_Accessibility_Actual, Flag),
Sm (Next_Named_Actual, Node_Id)));
Cc (N_Parameter_Specification, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Aliased_Present, Flag),
Sy (In_Present, Flag),
Sy (Out_Present, Flag),
Sy (Null_Exclusion_Present, Flag, Default_False),
Sy (Parameter_Type, Node_Id),
Sy (Expression, Node_Id, Default_Empty),
Sm (Default_Expression, Node_Id),
Sm (More_Ids, Flag),
Sm (Prev_Ids, Flag)));
Cc (N_Pragma, Node_Kind,
(Sy (Pragma_Argument_Associations, List_Id, Default_No_List),
Sy (Pragma_Identifier, Node_Id),
Sy (Class_Present, Flag),
Sy (Split_PPC, Flag),
Sm (Corresponding_Aspect, Node_Id),
Sm (From_Aspect_Specification, Flag),
Sm (Import_Interface_Present, Flag),
Sm (Is_Analyzed_Pragma, Flag),
Sm (Is_Checked, Flag),
Sm (Is_Checked_Ghost_Pragma, Flag),
Sm (Is_Delayed_Aspect, Flag),
Sm (Is_Disabled, Flag),
Sm (Is_Generic_Contract_Pragma, Flag),
Sm (Is_Ignored, Flag),
Sm (Is_Ignored_Ghost_Pragma, Flag),
Sm (Is_Inherited_Pragma, Flag),
Sm (Next_Pragma, Node_Id),
Sm (Next_Rep_Item, Node_Id),
Sm (Uneval_Old_Accept, Flag),
Sm (Uneval_Old_Warn, Flag)));
Cc (N_Protected_Definition, Node_Kind,
(Sy (Visible_Declarations, List_Id),
Sy (Private_Declarations, List_Id, Default_No_List),
Sy (End_Label, Node_Id, Default_Empty)));
Cc (N_Range_Constraint, Node_Kind,
(Sy (Range_Expression, Node_Id)));
Cc (N_Real_Range_Specification, Node_Kind,
(Sy (Low_Bound, Node_Id),
Sy (High_Bound, Node_Id)));
Cc (N_Record_Definition, Node_Kind,
(Sy (End_Label, Node_Id, Default_Empty),
Sy (Abstract_Present, Flag),
Sy (Tagged_Present, Flag),
Sy (Limited_Present, Flag),
Sy (Component_List, Node_Id),
Sy (Null_Present, Flag),
Sy (Task_Present, Flag),
Sy (Protected_Present, Flag),
Sy (Synchronized_Present, Flag),
Sy (Interface_Present, Flag),
Sy (Interface_List, List_Id, Default_No_List)));
Cc (N_Signed_Integer_Type_Definition, Node_Kind,
(Sy (Low_Bound, Node_Id),
Sy (High_Bound, Node_Id)));
Cc (N_Single_Protected_Declaration, Node_Kind,
(Sy (Defining_Identifier, Node_Id),
Sy (Interface_List, List_Id, Default_No_List),
Sy (Protected_Definition, Node_Id)));
Cc (N_Subunit, Node_Kind,
(Sy (Name, Node_Id, Default_Empty),
Sy (Proper_Body, Node_Id),
Sm (Corresponding_Stub, Node_Id)));
Cc (N_Task_Definition, Node_Kind,
(Sy (Visible_Declarations, List_Id),
Sy (Private_Declarations, List_Id, Default_No_List),
Sy (End_Label, Node_Id, Default_Empty),
Sm (Has_Relative_Deadline_Pragma, Flag),
Sm (Has_Storage_Size_Pragma, Flag)));
Cc (N_Triggering_Alternative, Node_Kind,
(Sy (Triggering_Statement, Node_Id),
Sy (Statements, List_Id, Default_Empty_List),
Sy (Pragmas_Before, List_Id, Default_No_List)));
Cc (N_Use_Type_Clause, Node_Kind,
(Sy (Subtype_Mark, Node_Id, Default_Empty),
Sy (Is_Effective_Use_Clause, Flag),
Sy (All_Present, Flag),
Sm (Hidden_By_Use_Clause, Elist_Id),
Sm (More_Ids, Flag),
Sm (Next_Use_Clause, Node_Id),
Sm (Prev_Ids, Flag),
Sm (Prev_Use_Clause, Node_Id),
Sm (Used_Operations, Elist_Id)));
Cc (N_Validate_Unchecked_Conversion, Node_Kind,
(Sm (Source_Type, Node_Id),
Sm (Target_Type, Node_Id)));
Cc (N_Variable_Reference_Marker, Node_Kind,
(Sm (Is_Elaboration_Checks_OK_Node, Flag),
Sm (Is_Elaboration_Warnings_OK_Node, Flag),
Sm (Is_Read, Flag),
Sm (Is_SPARK_Mode_On_Node, Flag),
Sm (Is_Write, Flag),
Sm (Target, Node_Id)));
Cc (N_Variant, Node_Kind,
(Sy (Discrete_Choices, List_Id),
Sy (Component_List, Node_Id),
Sm (Dcheck_Function, Node_Id),
Sm (Enclosing_Variant, Node_Id),
Sm (Has_SP_Choice, Flag),
Sm (Present_Expr, Valid_Uint)));
Cc (N_Variant_Part, Node_Kind,
(Sy (Name, Node_Id, Default_Empty),
Sy (Variants, List_Id)));
Cc (N_With_Clause, Node_Kind,
(Sy (Name, Node_Id, Default_Empty),
Sy (Private_Present, Flag),
Sy (Limited_Present, Flag),
Sy (First_Name, Flag, Default_True),
Sy (Last_Name, Flag, Default_True),
Sm (Context_Installed, Flag),
Sm (Corresponding_Spec, Node_Id),
Sm (Elaborate_All_Desirable, Flag),
Sm (Elaborate_All_Present, Flag),
Sm (Elaborate_Desirable, Flag),
Sm (Elaborate_Present, Flag),
Sm (Implicit_With, Flag),
Sm (Library_Unit, Node_Id),
Sm (Limited_View_Installed, Flag),
Sm (Next_Implicit_With, Node_Id),
Sm (No_Entities_Ref_In_Spec, Flag),
Sm (Parent_With, Flag),
Sm (Unreferenced_In_Spec, Flag)));
Cc (N_Unused_At_End, Node_Kind);
-- Union types. These don't fit into the normal parent/child hierarchy
-- above.
Union (N_Has_Chars,
Children =>
(N_Attribute_Definition_Clause,
N_Empty,
N_Pragma_Argument_Association,
N_Error,
N_Entity,
N_Expanded_Name,
N_Identifier,
N_Operator_Symbol,
N_Character_Literal,
N_Op));
Union (N_Has_Condition,
Children =>
(N_Exit_Statement,
N_If_Statement,
N_Accept_Alternative,
N_Delay_Alternative,
N_Elsif_Part,
N_Entry_Body_Formal_Part,
N_Iteration_Scheme,
N_Terminate_Alternative));
-- Nodes with condition fields (does not include N_Raise_xxx_Error)
Union (N_Has_Bounds,
Children =>
(N_Range,
N_Real_Range_Specification,
N_Signed_Integer_Type_Definition));
-- Nodes that have Low_Bound and High_Bound defined
Union (N_Is_Index,
Children =>
(N_Has_Bounds,
N_Has_Entity,
N_Subtype_Indication));
-- Nodes that can be an index of an array
Union (N_Entity_Name,
Children =>
(N_Expanded_Name,
N_Identifier,
N_Operator_Symbol));
-- Nodes that are definitely representing an entity.
-- Some N_Attribute_Reference nodes may also represent an entity. See
-- Is_Entity_Name.
Union (N_Is_Decl,
Children =>
(N_Aggregate,
N_Block_Statement,
N_Declaration,
N_Discriminant_Specification,
N_Entry_Index_Specification,
N_Enumeration_Type_Definition,
N_Exception_Handler,
N_Explicit_Dereference,
N_Expression_With_Actions,
N_Extension_Aggregate,
N_Identifier,
N_Iterated_Component_Association,
N_Later_Decl_Item,
N_Loop_Statement,
N_Null_Statement,
N_Number_Declaration,
N_Package_Specification,
N_Parameter_Specification,
N_Renaming_Declaration,
N_Quantified_Expression));
-- Nodes that can be returned by Declaration_Node; it can also return
-- Empty. Not all of these are true "declarations", but Declaration_Node
-- can return them in some cases.
Union (N_Is_Range,
Children =>
(N_Character_Literal,
N_Entity_Name,
N_Has_Bounds,
N_Integer_Literal,
N_Subtype_Indication));
-- Nodes that can be used to specify a range
Union (N_Is_Case_Choice,
Children =>
(N_Is_Range,
N_Others_Choice));
-- Nodes that can be in the choices of a case statement
Union (N_Is_Exception_Choice,
Children =>
(N_Entity_Name,
N_Others_Choice));
-- Nodes that can be in the choices of an exception handler
Union (N_Alternative,
Children =>
(N_Case_Statement_Alternative,
N_Variant));
-- Nodes that can be alternatives in case contructs
end Gen_IL.Gen.Gen_Nodes;
|
reznikmm/matreshka | Ada | 332,457 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Visitors;
with ODF.DOM.Number_Am_Pm_Elements;
with ODF.DOM.Anim_Animate_Elements;
with ODF.DOM.Anim_AnimateColor_Elements;
with ODF.DOM.Anim_AnimateMotion_Elements;
with ODF.DOM.Anim_AnimateTransform_Elements;
with ODF.DOM.Anim_Audio_Elements;
with ODF.DOM.Anim_Command_Elements;
with ODF.DOM.Anim_Iterate_Elements;
with ODF.DOM.Anim_Par_Elements;
with ODF.DOM.Anim_Param_Elements;
with ODF.DOM.Anim_Seq_Elements;
with ODF.DOM.Anim_Set_Elements;
with ODF.DOM.Anim_TransitionFilter_Elements;
with ODF.DOM.Office_Annotation_Elements;
with ODF.DOM.Office_Annotation_End_Elements;
with ODF.DOM.Db_Application_Connection_Settings_Elements;
with ODF.DOM.Db_Auto_Increment_Elements;
with ODF.DOM.Chart_Axis_Elements;
with ODF.DOM.Number_Boolean_Elements;
with ODF.DOM.Number_Boolean_Style_Elements;
with ODF.DOM.Form_Button_Elements;
with ODF.DOM.Chart_Categories_Elements;
with ODF.DOM.Db_Character_Set_Elements;
with ODF.DOM.Chart_Chart_Elements;
with ODF.DOM.Form_Checkbox_Elements;
with ODF.DOM.Db_Column_Elements;
with ODF.DOM.Form_Column_Elements;
with ODF.DOM.Db_Column_Definition_Elements;
with ODF.DOM.Db_Column_Definitions_Elements;
with ODF.DOM.Db_Columns_Elements;
with ODF.DOM.Form_Combobox_Elements;
with ODF.DOM.Db_Component_Elements;
with ODF.DOM.Db_Component_Collection_Elements;
with ODF.DOM.Chart_Data_Label_Elements;
with ODF.DOM.Chart_Data_Point_Elements;
with ODF.DOM.Chart_Domain_Elements;
with ODF.DOM.Chart_Equation_Elements;
with ODF.DOM.Chart_Error_Indicator_Elements;
with ODF.DOM.Chart_Floor_Elements;
with ODF.DOM.Chart_Footer_Elements;
with ODF.DOM.Chart_Grid_Elements;
with ODF.DOM.Chart_Label_Separator_Elements;
with ODF.DOM.Chart_Legend_Elements;
with ODF.DOM.Chart_Mean_Value_Elements;
with ODF.DOM.Chart_Plot_Area_Elements;
with ODF.DOM.Chart_Regression_Curve_Elements;
with ODF.DOM.Chart_Series_Elements;
with ODF.DOM.Chart_Stock_Gain_Marker_Elements;
with ODF.DOM.Chart_Stock_Loss_Marker_Elements;
with ODF.DOM.Chart_Stock_Range_Line_Elements;
with ODF.DOM.Chart_Subtitle_Elements;
with ODF.DOM.Chart_Symbol_Image_Elements;
with ODF.DOM.Chart_Title_Elements;
with ODF.DOM.Chart_Wall_Elements;
with ODF.DOM.Draw_A_Elements;
with ODF.DOM.Presentation_Animation_Group_Elements;
with ODF.DOM.Presentation_Animations_Elements;
with ODF.DOM.Draw_Applet_Elements;
with ODF.DOM.Draw_Area_Circle_Elements;
with ODF.DOM.Draw_Area_Polygon_Elements;
with ODF.DOM.Draw_Area_Rectangle_Elements;
with ODF.DOM.Draw_Caption_Elements;
with ODF.DOM.Draw_Circle_Elements;
with ODF.DOM.Text_A_Elements;
with ODF.DOM.Text_Alphabetical_Index_Elements;
with ODF.DOM.Text_Alphabetical_Index_Auto_Mark_File_Elements;
with ODF.DOM.Text_Alphabetical_Index_Entry_Template_Elements;
with ODF.DOM.Text_Alphabetical_Index_Mark_Elements;
with ODF.DOM.Text_Alphabetical_Index_Mark_End_Elements;
with ODF.DOM.Text_Alphabetical_Index_Mark_Start_Elements;
with ODF.DOM.Text_Alphabetical_Index_Source_Elements;
with ODF.DOM.Text_Author_Initials_Elements;
with ODF.DOM.Text_Author_Name_Elements;
with ODF.DOM.Meta_Auto_Reload_Elements;
with ODF.DOM.Office_Automatic_Styles_Elements;
with ODF.DOM.Style_Background_Image_Elements;
with ODF.DOM.Style_Chart_Properties_Elements;
with ODF.DOM.Style_Column_Elements;
with ODF.DOM.Style_Column_Sep_Elements;
with ODF.DOM.Style_Columns_Elements;
with ODF.DOM.Table_Background_Elements;
with ODF.DOM.Text_Bibliography_Configuration_Elements;
with ODF.DOM.Office_Binary_Data_Elements;
with ODF.DOM.Table_Body_Elements;
with ODF.DOM.Table_Calculation_Settings_Elements;
with ODF.DOM.Table_Cell_Address_Elements;
with ODF.DOM.Table_Cell_Content_Change_Elements;
with ODF.DOM.Table_Cell_Content_Deletion_Elements;
with ODF.DOM.Table_Cell_Range_Source_Elements;
with ODF.DOM.Table_Change_Deletion_Elements;
with ODF.DOM.Table_Change_Track_Table_Cell_Elements;
with ODF.DOM.Text_Bibliography_Elements;
with ODF.DOM.Text_Bibliography_Entry_Template_Elements;
with ODF.DOM.Text_Bibliography_Mark_Elements;
with ODF.DOM.Text_Bibliography_Source_Elements;
with ODF.DOM.Text_Bookmark_Elements;
with ODF.DOM.Text_Bookmark_End_Elements;
with ODF.DOM.Text_Bookmark_Ref_Elements;
with ODF.DOM.Text_Bookmark_Start_Elements;
with ODF.DOM.Text_Change_Elements;
with ODF.DOM.Text_Change_End_Elements;
with ODF.DOM.Office_Change_Info_Elements;
with ODF.DOM.Text_Change_Start_Elements;
with ODF.DOM.Text_Changed_Region_Elements;
with ODF.DOM.Text_Chapter_Elements;
with ODF.DOM.Text_Character_Count_Elements;
with ODF.DOM.Text_Conditional_Text_Elements;
with ODF.DOM.Config_Config_Item_Elements;
with ODF.DOM.Config_Config_Item_Map_Entry_Elements;
with ODF.DOM.Config_Config_Item_Map_Indexed_Elements;
with ODF.DOM.Config_Config_Item_Map_Named_Elements;
with ODF.DOM.Config_Config_Item_Set_Elements;
with ODF.DOM.Db_Connection_Data_Elements;
with ODF.DOM.Db_Connection_Resource_Elements;
with ODF.DOM.Db_Data_Source_Elements;
with ODF.DOM.Db_Data_Source_Setting_Elements;
with ODF.DOM.Db_Data_Source_Setting_Value_Elements;
with ODF.DOM.Db_Data_Source_Settings_Elements;
with ODF.DOM.Db_Database_Description_Elements;
with ODF.DOM.Db_Delimiter_Elements;
with ODF.DOM.Db_Driver_Settings_Elements;
with ODF.DOM.Db_File_Based_Database_Elements;
with ODF.DOM.Draw_Fill_Image_Elements;
with ODF.DOM.Db_Filter_Statement_Elements;
with ODF.DOM.Db_Forms_Elements;
with ODF.DOM.Db_Index_Elements;
with ODF.DOM.Db_Index_Column_Elements;
with ODF.DOM.Db_Index_Columns_Elements;
with ODF.DOM.Db_Indices_Elements;
with ODF.DOM.Db_Key_Elements;
with ODF.DOM.Db_Key_Column_Elements;
with ODF.DOM.Db_Key_Columns_Elements;
with ODF.DOM.Db_Keys_Elements;
with ODF.DOM.Db_Login_Elements;
with ODF.DOM.Db_Order_Statement_Elements;
with ODF.DOM.Db_Queries_Elements;
with ODF.DOM.Db_Query_Elements;
with ODF.DOM.Db_Query_Collection_Elements;
with ODF.DOM.Db_Reports_Elements;
with ODF.DOM.Db_Schema_Definition_Elements;
with ODF.DOM.Db_Server_Database_Elements;
with ODF.DOM.Db_Table_Definition_Elements;
with ODF.DOM.Db_Table_Definitions_Elements;
with ODF.DOM.Db_Table_Exclude_Filter_Elements;
with ODF.DOM.Db_Table_Filter_Elements;
with ODF.DOM.Db_Table_Filter_Pattern_Elements;
with ODF.DOM.Db_Table_Include_Filter_Elements;
with ODF.DOM.Db_Table_Representation_Elements;
with ODF.DOM.Db_Table_Representations_Elements;
with ODF.DOM.Db_Table_Setting_Elements;
with ODF.DOM.Db_Table_Settings_Elements;
with ODF.DOM.Db_Table_Type_Elements;
with ODF.DOM.Db_Table_Type_Filter_Elements;
with ODF.DOM.Db_Update_Table_Elements;
with ODF.DOM.Draw_Connector_Elements;
with ODF.DOM.Draw_Contour_Path_Elements;
with ODF.DOM.Draw_Contour_Polygon_Elements;
with ODF.DOM.Draw_Control_Elements;
with ODF.DOM.Form_Connection_Resource_Elements;
with ODF.DOM.Table_Consolidation_Elements;
with ODF.DOM.Table_Content_Validation_Elements;
with ODF.DOM.Table_Content_Validations_Elements;
with ODF.DOM.Table_Covered_Table_Cell_Elements;
with ODF.DOM.Meta_Creation_Date_Elements;
with ODF.DOM.Text_Creation_Date_Elements;
with ODF.DOM.Text_Creation_Time_Elements;
with ODF.DOM.Dc_Creator_Elements;
with ODF.DOM.Dr3d_Cube_Elements;
with ODF.DOM.Number_Currency_Style_Elements;
with ODF.DOM.Number_Currency_Symbol_Elements;
with ODF.DOM.Draw_Custom_Shape_Elements;
with ODF.DOM.Form_Date_Elements;
with ODF.DOM.Meta_Date_String_Elements;
with ODF.DOM.Number_Date_Style_Elements;
with ODF.DOM.Number_Day_Elements;
with ODF.DOM.Number_Day_Of_Week_Elements;
with ODF.DOM.Number_Embedded_Text_Elements;
with ODF.DOM.Office_Database_Elements;
with ODF.DOM.Office_Dde_Source_Elements;
with ODF.DOM.Presentation_Date_Time_Elements;
with ODF.DOM.Presentation_Date_Time_Decl_Elements;
with ODF.DOM.Style_Default_Page_Layout_Elements;
with ODF.DOM.Style_Default_Style_Elements;
with ODF.DOM.Style_Drawing_Page_Properties_Elements;
with ODF.DOM.Style_Drop_Cap_Elements;
with ODF.DOM.Svg_Definition_Src_Elements;
with ODF.DOM.Table_Dde_Link_Elements;
with ODF.DOM.Presentation_Dim_Elements;
with ODF.DOM.Draw_Enhanced_Geometry_Elements;
with ODF.DOM.Dr3d_Extrude_Elements;
with ODF.DOM.Dr3d_Light_Elements;
with ODF.DOM.Dr3d_Rotate_Elements;
with ODF.DOM.Dr3d_Scene_Elements;
with ODF.DOM.Dr3d_Sphere_Elements;
with ODF.DOM.Svg_Desc_Elements;
with ODF.DOM.Draw_Ellipse_Elements;
with ODF.DOM.Draw_Equation_Elements;
with ODF.DOM.Number_Era_Elements;
with ODF.DOM.Table_Even_Columns_Elements;
with ODF.DOM.Table_Even_Rows_Elements;
with ODF.DOM.Script_Event_Listener_Elements;
with ODF.DOM.Form_File_Elements;
with ODF.DOM.Form_Fixed_Text_Elements;
with ODF.DOM.Presentation_Event_Listener_Elements;
with ODF.DOM.Draw_Floating_Frame_Elements;
with ODF.DOM.Form_Form_Elements;
with ODF.DOM.Form_Formatted_Text_Elements;
with ODF.DOM.Number_Fraction_Elements;
with ODF.DOM.Draw_Frame_Elements;
with ODF.DOM.Form_Frame_Elements;
with ODF.DOM.Form_Generic_Control_Elements;
with ODF.DOM.Office_Event_Listeners_Elements;
with ODF.DOM.Style_Font_Face_Elements;
with ODF.DOM.Svg_Font_Face_Format_Elements;
with ODF.DOM.Svg_Font_Face_Name_Elements;
with ODF.DOM.Svg_Font_Face_Src_Elements;
with ODF.DOM.Svg_Font_Face_Uri_Elements;
with ODF.DOM.Table_First_Column_Elements;
with ODF.DOM.Table_First_Row_Elements;
with ODF.DOM.Office_Forms_Elements;
with ODF.DOM.Presentation_Footer_Elements;
with ODF.DOM.Style_Footer_Elements;
with ODF.DOM.Presentation_Footer_Decl_Elements;
with ODF.DOM.Style_Footer_Left_Elements;
with ODF.DOM.Style_Footer_Style_Elements;
with ODF.DOM.Style_Footnote_Sep_Elements;
with ODF.DOM.Draw_G_Elements;
with ODF.DOM.Draw_Glue_Point_Elements;
with ODF.DOM.Draw_Gradient_Elements;
with ODF.DOM.Style_Graphic_Properties_Elements;
with ODF.DOM.Form_Grid_Elements;
with ODF.DOM.Draw_Handle_Elements;
with ODF.DOM.Draw_Hatch_Elements;
with ODF.DOM.Form_Hidden_Elements;
with ODF.DOM.Number_Hours_Elements;
with ODF.DOM.Form_Image_Elements;
with ODF.DOM.Form_Image_Frame_Elements;
with ODF.DOM.Presentation_Header_Elements;
with ODF.DOM.Style_Header_Elements;
with ODF.DOM.Presentation_Header_Decl_Elements;
with ODF.DOM.Style_Header_Footer_Properties_Elements;
with ODF.DOM.Style_Header_Left_Elements;
with ODF.DOM.Style_Header_Style_Elements;
with ODF.DOM.Presentation_Hide_Shape_Elements;
with ODF.DOM.Presentation_Hide_Text_Elements;
with ODF.DOM.Draw_Image_Elements;
with ODF.DOM.Draw_Image_Map_Elements;
with ODF.DOM.Form_Item_Elements;
with ODF.DOM.Draw_Layer_Elements;
with ODF.DOM.Draw_Layer_Set_Elements;
with ODF.DOM.Draw_Line_Elements;
with ODF.DOM.Style_List_Level_Label_Alignment_Elements;
with ODF.DOM.Style_List_Level_Properties_Elements;
with ODF.DOM.Draw_Marker_Elements;
with ODF.DOM.Svg_LinearGradient_Elements;
with ODF.DOM.Form_List_Property_Elements;
with ODF.DOM.Form_List_Value_Elements;
with ODF.DOM.Form_Listbox_Elements;
with ODF.DOM.Style_Map_Elements;
with ODF.DOM.Style_Master_Page_Elements;
with ODF.DOM.Math_Math_Elements;
with ODF.DOM.Draw_Measure_Elements;
with ODF.DOM.Number_Minutes_Elements;
with ODF.DOM.Number_Month_Elements;
with ODF.DOM.Presentation_Notes_Elements;
with ODF.DOM.Form_Number_Elements;
with ODF.DOM.Number_Number_Elements;
with ODF.DOM.Number_Number_Style_Elements;
with ODF.DOM.Draw_Object_Elements;
with ODF.DOM.Draw_Object_Ole_Elements;
with ODF.DOM.Draw_Opacity_Elements;
with ODF.DOM.Form_Option_Elements;
with ODF.DOM.Draw_Page_Elements;
with ODF.DOM.Style_Page_Layout_Elements;
with ODF.DOM.Style_Page_Layout_Properties_Elements;
with ODF.DOM.Draw_Page_Thumbnail_Elements;
with ODF.DOM.Style_Paragraph_Properties_Elements;
with ODF.DOM.Draw_Param_Elements;
with ODF.DOM.Form_Password_Elements;
with ODF.DOM.Draw_Path_Elements;
with ODF.DOM.Number_Percentage_Style_Elements;
with ODF.DOM.Presentation_Placeholder_Elements;
with ODF.DOM.Draw_Plugin_Elements;
with ODF.DOM.Draw_Polygon_Elements;
with ODF.DOM.Draw_Polyline_Elements;
with ODF.DOM.Style_Presentation_Page_Layout_Elements;
with ODF.DOM.Form_Properties_Elements;
with ODF.DOM.Form_Property_Elements;
with ODF.DOM.Number_Quarter_Elements;
with ODF.DOM.Svg_RadialGradient_Elements;
with ODF.DOM.Form_Radio_Elements;
with ODF.DOM.Draw_Rect_Elements;
with ODF.DOM.Style_Region_Center_Elements;
with ODF.DOM.Style_Region_Left_Elements;
with ODF.DOM.Style_Region_Right_Elements;
with ODF.DOM.Draw_Regular_Polygon_Elements;
with ODF.DOM.Style_Ruby_Properties_Elements;
with ODF.DOM.Draw_Stroke_Dash_Elements;
with ODF.DOM.Number_Scientific_Number_Elements;
with ODF.DOM.Number_Seconds_Elements;
with ODF.DOM.Style_Section_Properties_Elements;
with ODF.DOM.Svg_Stop_Elements;
with ODF.DOM.Number_Text_Elements;
with ODF.DOM.Style_Style_Elements;
with ODF.DOM.Style_Tab_Stop_Elements;
with ODF.DOM.Style_Tab_Stops_Elements;
with ODF.DOM.Style_Table_Cell_Properties_Elements;
with ODF.DOM.Style_Table_Column_Properties_Elements;
with ODF.DOM.Style_Table_Properties_Elements;
with ODF.DOM.Style_Table_Row_Properties_Elements;
with ODF.DOM.Form_Text_Elements;
with ODF.DOM.Draw_Text_Box_Elements;
with ODF.DOM.Number_Text_Content_Elements;
with ODF.DOM.Style_Text_Properties_Elements;
with ODF.DOM.Number_Text_Style_Elements;
with ODF.DOM.Form_Textarea_Elements;
with ODF.DOM.Form_Time_Elements;
with ODF.DOM.Number_Time_Style_Elements;
with ODF.DOM.Form_Value_Range_Elements;
with ODF.DOM.Number_Week_Of_Year_Elements;
with ODF.DOM.Number_Year_Elements;
with ODF.DOM.Table_Cut_Offs_Elements;
with ODF.DOM.Table_Data_Pilot_Display_Info_Elements;
with ODF.DOM.Table_Data_Pilot_Field_Elements;
with ODF.DOM.Table_Data_Pilot_Field_Reference_Elements;
with ODF.DOM.Table_Data_Pilot_Group_Elements;
with ODF.DOM.Table_Data_Pilot_Group_Member_Elements;
with ODF.DOM.Table_Data_Pilot_Groups_Elements;
with ODF.DOM.Table_Data_Pilot_Layout_Info_Elements;
with ODF.DOM.Table_Data_Pilot_Level_Elements;
with ODF.DOM.Table_Data_Pilot_Member_Elements;
with ODF.DOM.Table_Data_Pilot_Members_Elements;
with ODF.DOM.Table_Data_Pilot_Sort_Info_Elements;
with ODF.DOM.Table_Data_Pilot_Subtotal_Elements;
with ODF.DOM.Table_Data_Pilot_Subtotals_Elements;
with ODF.DOM.Table_Data_Pilot_Table_Elements;
with ODF.DOM.Table_Data_Pilot_Tables_Elements;
with ODF.DOM.Table_Database_Range_Elements;
with ODF.DOM.Table_Database_Ranges_Elements;
with ODF.DOM.Table_Database_Source_Query_Elements;
with ODF.DOM.Table_Database_Source_Sql_Elements;
with ODF.DOM.Table_Database_Source_Table_Elements;
with ODF.DOM.Table_Dde_Links_Elements;
with ODF.DOM.Table_Deletion_Elements;
with ODF.DOM.Table_Deletions_Elements;
with ODF.DOM.Table_Dependencies_Elements;
with ODF.DOM.Table_Dependency_Elements;
with ODF.DOM.Table_Desc_Elements;
with ODF.DOM.Table_Last_Column_Elements;
with ODF.DOM.Table_Last_Row_Elements;
with ODF.DOM.Table_Odd_Columns_Elements;
with ODF.DOM.Table_Odd_Rows_Elements;
with ODF.DOM.Table_Table_Template_Elements;
with ODF.DOM.Text_Creator_Elements;
with ODF.DOM.Text_Database_Display_Elements;
with ODF.DOM.Text_Database_Name_Elements;
with ODF.DOM.Text_Database_Next_Elements;
with ODF.DOM.Text_Database_Row_Number_Elements;
with ODF.DOM.Text_Database_Row_Select_Elements;
with ODF.DOM.Dc_Date_Elements;
with ODF.DOM.Text_Date_Elements;
with ODF.DOM.Text_Dde_Connection_Elements;
with ODF.DOM.Text_Dde_Connection_Decl_Elements;
with ODF.DOM.Text_Dde_Connection_Decls_Elements;
with ODF.DOM.Text_Deletion_Elements;
with ODF.DOM.Dc_Description_Elements;
with ODF.DOM.Table_Detective_Elements;
with ODF.DOM.Text_Description_Elements;
with ODF.DOM.Meta_Document_Statistic_Elements;
with ODF.DOM.Meta_Editing_Cycles_Elements;
with ODF.DOM.Meta_Editing_Duration_Elements;
with ODF.DOM.Dc_Language_Elements;
with ODF.DOM.Dc_Subject_Elements;
with ODF.DOM.Dc_Title_Elements;
with ODF.DOM.Meta_Generator_Elements;
with ODF.DOM.Meta_Hyperlink_Behaviour_Elements;
with ODF.DOM.Meta_Initial_Creator_Elements;
with ODF.DOM.Meta_Keyword_Elements;
with ODF.DOM.Meta_Print_Date_Elements;
with ODF.DOM.Meta_Printed_By_Elements;
with ODF.DOM.Meta_Template_Elements;
with ODF.DOM.Meta_User_Defined_Elements;
with ODF.DOM.Office_Body_Elements;
with ODF.DOM.Office_Chart_Elements;
with ODF.DOM.Office_Document_Elements;
with ODF.DOM.Office_Document_Content_Elements;
with ODF.DOM.Office_Document_Meta_Elements;
with ODF.DOM.Office_Document_Settings_Elements;
with ODF.DOM.Office_Document_Styles_Elements;
with ODF.DOM.Office_Drawing_Elements;
with ODF.DOM.Style_Handout_Master_Elements;
with ODF.DOM.Table_Error_Macro_Elements;
with ODF.DOM.Table_Error_Message_Elements;
with ODF.DOM.Table_Filter_Elements;
with ODF.DOM.Table_Filter_And_Elements;
with ODF.DOM.Table_Filter_Condition_Elements;
with ODF.DOM.Table_Filter_Or_Elements;
with ODF.DOM.Table_Filter_Set_Item_Elements;
with ODF.DOM.Table_Help_Message_Elements;
with ODF.DOM.Table_Highlighted_Range_Elements;
with ODF.DOM.Text_Editing_Cycles_Elements;
with ODF.DOM.Text_Editing_Duration_Elements;
with ODF.DOM.Text_Execute_Macro_Elements;
with ODF.DOM.Text_Expression_Elements;
with ODF.DOM.Text_File_Name_Elements;
with ODF.DOM.Office_Font_Face_Decls_Elements;
with ODF.DOM.Text_Format_Change_Elements;
with ODF.DOM.Text_H_Elements;
with ODF.DOM.Text_Hidden_Paragraph_Elements;
with ODF.DOM.Text_Hidden_Text_Elements;
with ODF.DOM.Text_Illustration_Index_Elements;
with ODF.DOM.Text_Illustration_Index_Entry_Template_Elements;
with ODF.DOM.Text_Illustration_Index_Source_Elements;
with ODF.DOM.Office_Image_Elements;
with ODF.DOM.Table_Insertion_Elements;
with ODF.DOM.Table_Insertion_Cut_Off_Elements;
with ODF.DOM.Table_Iteration_Elements;
with ODF.DOM.Table_Label_Range_Elements;
with ODF.DOM.Table_Label_Ranges_Elements;
with ODF.DOM.Text_Image_Count_Elements;
with ODF.DOM.Text_Index_Body_Elements;
with ODF.DOM.Text_Index_Entry_Bibliography_Elements;
with ODF.DOM.Text_Index_Entry_Chapter_Elements;
with ODF.DOM.Text_Index_Entry_Link_End_Elements;
with ODF.DOM.Text_Index_Entry_Link_Start_Elements;
with ODF.DOM.Text_Index_Entry_Page_Number_Elements;
with ODF.DOM.Text_Index_Entry_Span_Elements;
with ODF.DOM.Text_Index_Entry_Tab_Stop_Elements;
with ODF.DOM.Text_Index_Entry_Text_Elements;
with ODF.DOM.Text_Index_Source_Style_Elements;
with ODF.DOM.Text_Index_Source_Styles_Elements;
with ODF.DOM.Text_Index_Title_Elements;
with ODF.DOM.Text_Index_Title_Template_Elements;
with ODF.DOM.Text_Initial_Creator_Elements;
with ODF.DOM.Text_Insertion_Elements;
with ODF.DOM.Text_Keywords_Elements;
with ODF.DOM.Text_Line_Break_Elements;
with ODF.DOM.Text_Linenumbering_Configuration_Elements;
with ODF.DOM.Text_Linenumbering_Separator_Elements;
with ODF.DOM.Text_List_Elements;
with ODF.DOM.Text_List_Header_Elements;
with ODF.DOM.Text_List_Item_Elements;
with ODF.DOM.Text_List_Level_Style_Bullet_Elements;
with ODF.DOM.Text_List_Level_Style_Image_Elements;
with ODF.DOM.Text_List_Level_Style_Number_Elements;
with ODF.DOM.Text_List_Style_Elements;
with ODF.DOM.Office_Master_Styles_Elements;
with ODF.DOM.Text_Measure_Elements;
with ODF.DOM.Office_Meta_Elements;
with ODF.DOM.Presentation_Play_Elements;
with ODF.DOM.Presentation_Settings_Elements;
with ODF.DOM.Presentation_Show_Elements;
with ODF.DOM.Presentation_Show_Shape_Elements;
with ODF.DOM.Presentation_Show_Text_Elements;
with ODF.DOM.Presentation_Sound_Elements;
with ODF.DOM.Svg_Title_Elements;
with ODF.DOM.Table_Movement_Elements;
with ODF.DOM.Table_Movement_Cut_Off_Elements;
with ODF.DOM.Table_Named_Expression_Elements;
with ODF.DOM.Table_Named_Expressions_Elements;
with ODF.DOM.Table_Named_Range_Elements;
with ODF.DOM.Table_Null_Date_Elements;
with ODF.DOM.Table_Operation_Elements;
with ODF.DOM.Table_Previous_Elements;
with ODF.DOM.Table_Scenario_Elements;
with ODF.DOM.Table_Shapes_Elements;
with ODF.DOM.Table_Sort_Elements;
with ODF.DOM.Table_Sort_By_Elements;
with ODF.DOM.Table_Sort_Groups_Elements;
with ODF.DOM.Table_Source_Cell_Range_Elements;
with ODF.DOM.Table_Source_Range_Address_Elements;
with ODF.DOM.Table_Source_Service_Elements;
with ODF.DOM.Table_Subtotal_Field_Elements;
with ODF.DOM.Table_Subtotal_Rule_Elements;
with ODF.DOM.Table_Subtotal_Rules_Elements;
with ODF.DOM.Table_Table_Elements;
with ODF.DOM.Table_Table_Cell_Elements;
with ODF.DOM.Table_Table_Column_Elements;
with ODF.DOM.Table_Table_Column_Group_Elements;
with ODF.DOM.Table_Table_Columns_Elements;
with ODF.DOM.Table_Table_Header_Columns_Elements;
with ODF.DOM.Table_Table_Header_Rows_Elements;
with ODF.DOM.Table_Table_Row_Elements;
with ODF.DOM.Table_Table_Row_Group_Elements;
with ODF.DOM.Table_Table_Rows_Elements;
with ODF.DOM.Table_Table_Source_Elements;
with ODF.DOM.Table_Target_Range_Address_Elements;
with ODF.DOM.Table_Title_Elements;
with ODF.DOM.Table_Tracked_Changes_Elements;
with ODF.DOM.Text_Meta_Elements;
with ODF.DOM.Text_Meta_Field_Elements;
with ODF.DOM.Xforms_Model_Elements;
with ODF.DOM.Text_Modification_Date_Elements;
with ODF.DOM.Text_Modification_Time_Elements;
with ODF.DOM.Text_Note_Elements;
with ODF.DOM.Text_Note_Body_Elements;
with ODF.DOM.Text_Note_Citation_Elements;
with ODF.DOM.Text_Note_Continuation_Notice_Backward_Elements;
with ODF.DOM.Text_Note_Continuation_Notice_Forward_Elements;
with ODF.DOM.Text_Note_Ref_Elements;
with ODF.DOM.Text_Notes_Configuration_Elements;
with ODF.DOM.Text_Number_Elements;
with ODF.DOM.Text_Numbered_Paragraph_Elements;
with ODF.DOM.Text_Object_Count_Elements;
with ODF.DOM.Text_Object_Index_Elements;
with ODF.DOM.Text_Object_Index_Entry_Template_Elements;
with ODF.DOM.Text_Object_Index_Source_Elements;
with ODF.DOM.Text_Outline_Level_Style_Elements;
with ODF.DOM.Text_Outline_Style_Elements;
with ODF.DOM.Text_P_Elements;
with ODF.DOM.Text_Page_Elements;
with ODF.DOM.Text_Page_Continuation_Elements;
with ODF.DOM.Text_Page_Count_Elements;
with ODF.DOM.Text_Page_Number_Elements;
with ODF.DOM.Text_Page_Sequence_Elements;
with ODF.DOM.Text_Page_Variable_Get_Elements;
with ODF.DOM.Text_Page_Variable_Set_Elements;
with ODF.DOM.Text_Paragraph_Count_Elements;
with ODF.DOM.Text_Placeholder_Elements;
with ODF.DOM.Office_Presentation_Elements;
with ODF.DOM.Text_Print_Date_Elements;
with ODF.DOM.Text_Print_Time_Elements;
with ODF.DOM.Text_Printed_By_Elements;
with ODF.DOM.Text_Reference_Mark_Elements;
with ODF.DOM.Text_Reference_Mark_End_Elements;
with ODF.DOM.Text_Reference_Mark_Start_Elements;
with ODF.DOM.Text_Reference_Ref_Elements;
with ODF.DOM.Text_Ruby_Elements;
with ODF.DOM.Text_Ruby_Base_Elements;
with ODF.DOM.Text_Ruby_Text_Elements;
with ODF.DOM.Text_S_Elements;
with ODF.DOM.Office_Script_Elements;
with ODF.DOM.Text_Script_Elements;
with ODF.DOM.Office_Scripts_Elements;
with ODF.DOM.Text_Section_Elements;
with ODF.DOM.Text_Section_Source_Elements;
with ODF.DOM.Text_Sender_City_Elements;
with ODF.DOM.Text_Sender_Company_Elements;
with ODF.DOM.Text_Sender_Country_Elements;
with ODF.DOM.Text_Sender_Email_Elements;
with ODF.DOM.Text_Sender_Fax_Elements;
with ODF.DOM.Text_Sender_Firstname_Elements;
with ODF.DOM.Text_Sender_Initials_Elements;
with ODF.DOM.Text_Sender_Lastname_Elements;
with ODF.DOM.Text_Sender_Phone_Private_Elements;
with ODF.DOM.Text_Sender_Phone_Work_Elements;
with ODF.DOM.Text_Sender_Position_Elements;
with ODF.DOM.Text_Sender_Postal_Code_Elements;
with ODF.DOM.Text_Sender_State_Or_Province_Elements;
with ODF.DOM.Text_Sender_Street_Elements;
with ODF.DOM.Text_Sender_Title_Elements;
with ODF.DOM.Text_Sequence_Elements;
with ODF.DOM.Text_Sequence_Decl_Elements;
with ODF.DOM.Text_Sequence_Decls_Elements;
with ODF.DOM.Text_Sequence_Ref_Elements;
with ODF.DOM.Office_Settings_Elements;
with ODF.DOM.Text_Sheet_Name_Elements;
with ODF.DOM.Text_Soft_Page_Break_Elements;
with ODF.DOM.Text_Sort_Key_Elements;
with ODF.DOM.Text_Span_Elements;
with ODF.DOM.Office_Spreadsheet_Elements;
with ODF.DOM.Office_Styles_Elements;
with ODF.DOM.Text_Subject_Elements;
with ODF.DOM.Text_Tab_Elements;
with ODF.DOM.Text_Table_Count_Elements;
with ODF.DOM.Text_Table_Formula_Elements;
with ODF.DOM.Text_Table_Index_Elements;
with ODF.DOM.Text_Table_Index_Entry_Template_Elements;
with ODF.DOM.Text_Table_Index_Source_Elements;
with ODF.DOM.Text_Table_Of_Content_Elements;
with ODF.DOM.Text_Table_Of_Content_Entry_Template_Elements;
with ODF.DOM.Text_Table_Of_Content_Source_Elements;
with ODF.DOM.Text_Template_Name_Elements;
with ODF.DOM.Office_Text_Elements;
with ODF.DOM.Text_Text_Input_Elements;
with ODF.DOM.Text_Time_Elements;
with ODF.DOM.Text_Title_Elements;
with ODF.DOM.Text_Toc_Mark_Elements;
with ODF.DOM.Text_Toc_Mark_End_Elements;
with ODF.DOM.Text_Toc_Mark_Start_Elements;
with ODF.DOM.Text_Tracked_Changes_Elements;
with ODF.DOM.Text_User_Defined_Elements;
with ODF.DOM.Text_User_Field_Decl_Elements;
with ODF.DOM.Text_User_Field_Decls_Elements;
with ODF.DOM.Text_User_Field_Get_Elements;
with ODF.DOM.Text_User_Field_Input_Elements;
with ODF.DOM.Text_User_Index_Elements;
with ODF.DOM.Text_User_Index_Entry_Template_Elements;
with ODF.DOM.Text_User_Index_Mark_Elements;
with ODF.DOM.Text_User_Index_Mark_End_Elements;
with ODF.DOM.Text_User_Index_Mark_Start_Elements;
with ODF.DOM.Text_User_Index_Source_Elements;
with ODF.DOM.Text_Variable_Decl_Elements;
with ODF.DOM.Text_Variable_Decls_Elements;
with ODF.DOM.Text_Variable_Get_Elements;
with ODF.DOM.Text_Variable_Input_Elements;
with ODF.DOM.Text_Variable_Set_Elements;
with ODF.DOM.Text_Word_Count_Elements;
package ODF.DOM.Visitors is
pragma Preelaborate;
type Abstract_ODF_Visitor is limited interface
and XML.DOM.Visitors.Abstract_Visitor;
not overriding procedure Enter_Number_Am_Pm
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Am_Pm_Elements.ODF_Number_Am_Pm_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Am_Pm
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Am_Pm_Elements.ODF_Number_Am_Pm_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Animate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Animate_Elements.ODF_Anim_Animate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Animate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Animate_Elements.ODF_Anim_Animate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_AnimateColor
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateColor_Elements.ODF_Anim_AnimateColor_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_AnimateColor
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateColor_Elements.ODF_Anim_AnimateColor_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_AnimateMotion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateMotion_Elements.ODF_Anim_AnimateMotion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_AnimateMotion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateMotion_Elements.ODF_Anim_AnimateMotion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_AnimateTransform
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateTransform_Elements.ODF_Anim_AnimateTransform_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_AnimateTransform
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_AnimateTransform_Elements.ODF_Anim_AnimateTransform_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Audio
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Audio_Elements.ODF_Anim_Audio_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Audio
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Audio_Elements.ODF_Anim_Audio_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Command
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Command_Elements.ODF_Anim_Command_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Command
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Command_Elements.ODF_Anim_Command_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Iterate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Iterate_Elements.ODF_Anim_Iterate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Iterate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Iterate_Elements.ODF_Anim_Iterate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Par
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Par_Elements.ODF_Anim_Par_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Par
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Par_Elements.ODF_Anim_Par_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Param
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Param_Elements.ODF_Anim_Param_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Param
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Param_Elements.ODF_Anim_Param_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Seq
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Seq_Elements.ODF_Anim_Seq_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Seq
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Seq_Elements.ODF_Anim_Seq_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Set_Elements.ODF_Anim_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_Set_Elements.ODF_Anim_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Anim_TransitionFilter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_TransitionFilter_Elements.ODF_Anim_TransitionFilter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Anim_TransitionFilter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Anim_TransitionFilter_Elements.ODF_Anim_TransitionFilter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Annotation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Annotation_Elements.ODF_Office_Annotation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Annotation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Annotation_Elements.ODF_Office_Annotation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Annotation_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Annotation_End_Elements.ODF_Office_Annotation_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Annotation_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Annotation_End_Elements.ODF_Office_Annotation_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Application_Connection_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Application_Connection_Settings_Elements.ODF_Db_Application_Connection_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Application_Connection_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Application_Connection_Settings_Elements.ODF_Db_Application_Connection_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Auto_Increment
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Auto_Increment_Elements.ODF_Db_Auto_Increment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Auto_Increment
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Auto_Increment_Elements.ODF_Db_Auto_Increment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Axis
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Axis_Elements.ODF_Chart_Axis_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Axis
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Axis_Elements.ODF_Chart_Axis_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Boolean
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Boolean_Elements.ODF_Number_Boolean_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Boolean
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Boolean_Elements.ODF_Number_Boolean_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Boolean_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Boolean_Style_Elements.ODF_Number_Boolean_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Boolean_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Boolean_Style_Elements.ODF_Number_Boolean_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Button
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Button_Elements.ODF_Form_Button_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Button
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Button_Elements.ODF_Form_Button_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Categories
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Categories_Elements.ODF_Chart_Categories_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Categories
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Categories_Elements.ODF_Chart_Categories_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Character_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Character_Set_Elements.ODF_Db_Character_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Character_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Character_Set_Elements.ODF_Db_Character_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Chart
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Chart_Elements.ODF_Chart_Chart_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Chart
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Chart_Elements.ODF_Chart_Chart_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Checkbox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Checkbox_Elements.ODF_Form_Checkbox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Checkbox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Checkbox_Elements.ODF_Form_Checkbox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Elements.ODF_Db_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Elements.ODF_Db_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Column_Elements.ODF_Form_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Column_Elements.ODF_Form_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Column_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Definition_Elements.ODF_Db_Column_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Column_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Definition_Elements.ODF_Db_Column_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Column_Definitions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Definitions_Elements.ODF_Db_Column_Definitions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Column_Definitions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Column_Definitions_Elements.ODF_Db_Column_Definitions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Columns_Elements.ODF_Db_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Columns_Elements.ODF_Db_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Combobox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Combobox_Elements.ODF_Form_Combobox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Combobox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Combobox_Elements.ODF_Form_Combobox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Component
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Component_Elements.ODF_Db_Component_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Component
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Component_Elements.ODF_Db_Component_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Component_Collection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Component_Collection_Elements.ODF_Db_Component_Collection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Component_Collection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Component_Collection_Elements.ODF_Db_Component_Collection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Data_Label
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Data_Label_Elements.ODF_Chart_Data_Label_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Data_Label
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Data_Label_Elements.ODF_Chart_Data_Label_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Data_Point
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Data_Point_Elements.ODF_Chart_Data_Point_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Data_Point
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Data_Point_Elements.ODF_Chart_Data_Point_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Domain
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Domain_Elements.ODF_Chart_Domain_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Domain
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Domain_Elements.ODF_Chart_Domain_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Equation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Equation_Elements.ODF_Chart_Equation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Equation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Equation_Elements.ODF_Chart_Equation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Error_Indicator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Error_Indicator_Elements.ODF_Chart_Error_Indicator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Error_Indicator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Error_Indicator_Elements.ODF_Chart_Error_Indicator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Floor
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Floor_Elements.ODF_Chart_Floor_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Floor
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Floor_Elements.ODF_Chart_Floor_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Footer_Elements.ODF_Chart_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Footer_Elements.ODF_Chart_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Grid
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Grid_Elements.ODF_Chart_Grid_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Grid
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Grid_Elements.ODF_Chart_Grid_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Label_Separator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Label_Separator_Elements.ODF_Chart_Label_Separator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Label_Separator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Label_Separator_Elements.ODF_Chart_Label_Separator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Legend
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Legend_Elements.ODF_Chart_Legend_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Legend
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Legend_Elements.ODF_Chart_Legend_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Mean_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Mean_Value_Elements.ODF_Chart_Mean_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Mean_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Mean_Value_Elements.ODF_Chart_Mean_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Plot_Area
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Plot_Area_Elements.ODF_Chart_Plot_Area_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Plot_Area
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Plot_Area_Elements.ODF_Chart_Plot_Area_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Regression_Curve
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Regression_Curve_Elements.ODF_Chart_Regression_Curve_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Regression_Curve
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Regression_Curve_Elements.ODF_Chart_Regression_Curve_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Series
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Series_Elements.ODF_Chart_Series_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Series
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Series_Elements.ODF_Chart_Series_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Stock_Gain_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Gain_Marker_Elements.ODF_Chart_Stock_Gain_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Stock_Gain_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Gain_Marker_Elements.ODF_Chart_Stock_Gain_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Stock_Loss_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Loss_Marker_Elements.ODF_Chart_Stock_Loss_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Stock_Loss_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Loss_Marker_Elements.ODF_Chart_Stock_Loss_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Stock_Range_Line
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Range_Line_Elements.ODF_Chart_Stock_Range_Line_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Stock_Range_Line
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Stock_Range_Line_Elements.ODF_Chart_Stock_Range_Line_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Subtitle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Subtitle_Elements.ODF_Chart_Subtitle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Subtitle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Subtitle_Elements.ODF_Chart_Subtitle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Symbol_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Symbol_Image_Elements.ODF_Chart_Symbol_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Symbol_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Symbol_Image_Elements.ODF_Chart_Symbol_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Title_Elements.ODF_Chart_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Title_Elements.ODF_Chart_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Chart_Wall
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Wall_Elements.ODF_Chart_Wall_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Chart_Wall
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Chart_Wall_Elements.ODF_Chart_Wall_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_A
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_A_Elements.ODF_Draw_A_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_A
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_A_Elements.ODF_Draw_A_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Animation_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Animation_Group_Elements.ODF_Presentation_Animation_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Animation_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Animation_Group_Elements.ODF_Presentation_Animation_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Animations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Animations_Elements.ODF_Presentation_Animations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Animations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Animations_Elements.ODF_Presentation_Animations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Applet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Applet_Elements.ODF_Draw_Applet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Applet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Applet_Elements.ODF_Draw_Applet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Area_Circle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Circle_Elements.ODF_Draw_Area_Circle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Area_Circle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Circle_Elements.ODF_Draw_Area_Circle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Area_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Polygon_Elements.ODF_Draw_Area_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Area_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Polygon_Elements.ODF_Draw_Area_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Area_Rectangle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Rectangle_Elements.ODF_Draw_Area_Rectangle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Area_Rectangle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Area_Rectangle_Elements.ODF_Draw_Area_Rectangle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Caption
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Caption_Elements.ODF_Draw_Caption_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Caption
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Caption_Elements.ODF_Draw_Caption_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Circle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Circle_Elements.ODF_Draw_Circle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Circle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Circle_Elements.ODF_Draw_Circle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_A
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_A_Elements.ODF_Text_A_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_A
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_A_Elements.ODF_Text_A_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Elements.ODF_Text_Alphabetical_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Elements.ODF_Text_Alphabetical_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Auto_Mark_File
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Auto_Mark_File_Elements.ODF_Text_Alphabetical_Index_Auto_Mark_File_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Auto_Mark_File
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Auto_Mark_File_Elements.ODF_Text_Alphabetical_Index_Auto_Mark_File_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Entry_Template_Elements.ODF_Text_Alphabetical_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Entry_Template_Elements.ODF_Text_Alphabetical_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Elements.ODF_Text_Alphabetical_Index_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Elements.ODF_Text_Alphabetical_Index_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_End_Elements.ODF_Text_Alphabetical_Index_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_End_Elements.ODF_Text_Alphabetical_Index_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Start_Elements.ODF_Text_Alphabetical_Index_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Start_Elements.ODF_Text_Alphabetical_Index_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Alphabetical_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Source_Elements.ODF_Text_Alphabetical_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Alphabetical_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Alphabetical_Index_Source_Elements.ODF_Text_Alphabetical_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Author_Initials
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Author_Initials_Elements.ODF_Text_Author_Initials_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Author_Initials
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Author_Initials_Elements.ODF_Text_Author_Initials_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Author_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Author_Name_Elements.ODF_Text_Author_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Author_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Author_Name_Elements.ODF_Text_Author_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Auto_Reload
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Auto_Reload_Elements.ODF_Meta_Auto_Reload_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Auto_Reload
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Auto_Reload_Elements.ODF_Meta_Auto_Reload_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Automatic_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Automatic_Styles_Elements.ODF_Office_Automatic_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Automatic_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Automatic_Styles_Elements.ODF_Office_Automatic_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Background_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Background_Image_Elements.ODF_Style_Background_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Background_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Background_Image_Elements.ODF_Style_Background_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Chart_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Chart_Properties_Elements.ODF_Style_Chart_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Chart_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Chart_Properties_Elements.ODF_Style_Chart_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Column_Elements.ODF_Style_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Column_Elements.ODF_Style_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Column_Sep
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Column_Sep_Elements.ODF_Style_Column_Sep_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Column_Sep
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Column_Sep_Elements.ODF_Style_Column_Sep_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Columns_Elements.ODF_Style_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Columns_Elements.ODF_Style_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Background
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Background_Elements.ODF_Table_Background_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Background
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Background_Elements.ODF_Table_Background_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bibliography_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Configuration_Elements.ODF_Text_Bibliography_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bibliography_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Configuration_Elements.ODF_Text_Bibliography_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Binary_Data
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Binary_Data_Elements.ODF_Office_Binary_Data_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Binary_Data
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Binary_Data_Elements.ODF_Office_Binary_Data_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Body_Elements.ODF_Table_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Body_Elements.ODF_Table_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Calculation_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Calculation_Settings_Elements.ODF_Table_Calculation_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Calculation_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Calculation_Settings_Elements.ODF_Table_Calculation_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Cell_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Address_Elements.ODF_Table_Cell_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Cell_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Address_Elements.ODF_Table_Cell_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Cell_Content_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Content_Change_Elements.ODF_Table_Cell_Content_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Cell_Content_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Content_Change_Elements.ODF_Table_Cell_Content_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Cell_Content_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Content_Deletion_Elements.ODF_Table_Cell_Content_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Cell_Content_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Content_Deletion_Elements.ODF_Table_Cell_Content_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Cell_Range_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Range_Source_Elements.ODF_Table_Cell_Range_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Cell_Range_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cell_Range_Source_Elements.ODF_Table_Cell_Range_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Change_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Change_Deletion_Elements.ODF_Table_Change_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Change_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Change_Deletion_Elements.ODF_Table_Change_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Change_Track_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Change_Track_Table_Cell_Elements.ODF_Table_Change_Track_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Change_Track_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Change_Track_Table_Cell_Elements.ODF_Table_Change_Track_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bibliography
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Elements.ODF_Text_Bibliography_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bibliography
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Elements.ODF_Text_Bibliography_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bibliography_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Entry_Template_Elements.ODF_Text_Bibliography_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bibliography_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Entry_Template_Elements.ODF_Text_Bibliography_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bibliography_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Mark_Elements.ODF_Text_Bibliography_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bibliography_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Mark_Elements.ODF_Text_Bibliography_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bibliography_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Source_Elements.ODF_Text_Bibliography_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bibliography_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bibliography_Source_Elements.ODF_Text_Bibliography_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bookmark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Elements.ODF_Text_Bookmark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bookmark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Elements.ODF_Text_Bookmark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bookmark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_End_Elements.ODF_Text_Bookmark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bookmark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_End_Elements.ODF_Text_Bookmark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bookmark_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Ref_Elements.ODF_Text_Bookmark_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bookmark_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Ref_Elements.ODF_Text_Bookmark_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Bookmark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Start_Elements.ODF_Text_Bookmark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Bookmark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Bookmark_Start_Elements.ODF_Text_Bookmark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_Elements.ODF_Text_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_Elements.ODF_Text_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Change_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_End_Elements.ODF_Text_Change_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Change_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_End_Elements.ODF_Text_Change_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Change_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Change_Info_Elements.ODF_Office_Change_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Change_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Change_Info_Elements.ODF_Office_Change_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Change_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_Start_Elements.ODF_Text_Change_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Change_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Change_Start_Elements.ODF_Text_Change_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Changed_Region
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Changed_Region_Elements.ODF_Text_Changed_Region_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Changed_Region
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Changed_Region_Elements.ODF_Text_Changed_Region_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Chapter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Chapter_Elements.ODF_Text_Chapter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Chapter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Chapter_Elements.ODF_Text_Chapter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Character_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Character_Count_Elements.ODF_Text_Character_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Character_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Character_Count_Elements.ODF_Text_Character_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Conditional_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Conditional_Text_Elements.ODF_Text_Conditional_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Conditional_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Conditional_Text_Elements.ODF_Text_Conditional_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Config_Config_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Elements.ODF_Config_Config_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Config_Config_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Elements.ODF_Config_Config_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Config_Config_Item_Map_Entry
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Entry_Elements.ODF_Config_Config_Item_Map_Entry_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Config_Config_Item_Map_Entry
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Entry_Elements.ODF_Config_Config_Item_Map_Entry_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Config_Config_Item_Map_Indexed
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Indexed_Elements.ODF_Config_Config_Item_Map_Indexed_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Config_Config_Item_Map_Indexed
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Indexed_Elements.ODF_Config_Config_Item_Map_Indexed_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Config_Config_Item_Map_Named
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Named_Elements.ODF_Config_Config_Item_Map_Named_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Config_Config_Item_Map_Named
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Map_Named_Elements.ODF_Config_Config_Item_Map_Named_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Config_Config_Item_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Set_Elements.ODF_Config_Config_Item_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Config_Config_Item_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Config_Config_Item_Set_Elements.ODF_Config_Config_Item_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Connection_Data
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Connection_Data_Elements.ODF_Db_Connection_Data_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Connection_Data
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Connection_Data_Elements.ODF_Db_Connection_Data_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Connection_Resource
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Connection_Resource_Elements.ODF_Db_Connection_Resource_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Connection_Resource
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Connection_Resource_Elements.ODF_Db_Connection_Resource_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Data_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Elements.ODF_Db_Data_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Data_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Elements.ODF_Db_Data_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Data_Source_Setting
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Setting_Elements.ODF_Db_Data_Source_Setting_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Data_Source_Setting
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Setting_Elements.ODF_Db_Data_Source_Setting_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Data_Source_Setting_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Setting_Value_Elements.ODF_Db_Data_Source_Setting_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Data_Source_Setting_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Setting_Value_Elements.ODF_Db_Data_Source_Setting_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Data_Source_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Settings_Elements.ODF_Db_Data_Source_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Data_Source_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Data_Source_Settings_Elements.ODF_Db_Data_Source_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Database_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Database_Description_Elements.ODF_Db_Database_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Database_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Database_Description_Elements.ODF_Db_Database_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Delimiter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Delimiter_Elements.ODF_Db_Delimiter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Delimiter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Delimiter_Elements.ODF_Db_Delimiter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Driver_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Driver_Settings_Elements.ODF_Db_Driver_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Driver_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Driver_Settings_Elements.ODF_Db_Driver_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_File_Based_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_File_Based_Database_Elements.ODF_Db_File_Based_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_File_Based_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_File_Based_Database_Elements.ODF_Db_File_Based_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Fill_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Fill_Image_Elements.ODF_Draw_Fill_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Fill_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Fill_Image_Elements.ODF_Draw_Fill_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Filter_Statement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Filter_Statement_Elements.ODF_Db_Filter_Statement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Filter_Statement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Filter_Statement_Elements.ODF_Db_Filter_Statement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Forms
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Forms_Elements.ODF_Db_Forms_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Forms
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Forms_Elements.ODF_Db_Forms_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Elements.ODF_Db_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Elements.ODF_Db_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Index_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Column_Elements.ODF_Db_Index_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Index_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Column_Elements.ODF_Db_Index_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Index_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Columns_Elements.ODF_Db_Index_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Index_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Index_Columns_Elements.ODF_Db_Index_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Indices
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Indices_Elements.ODF_Db_Indices_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Indices
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Indices_Elements.ODF_Db_Indices_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Key
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Elements.ODF_Db_Key_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Key
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Elements.ODF_Db_Key_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Key_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Column_Elements.ODF_Db_Key_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Key_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Column_Elements.ODF_Db_Key_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Key_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Columns_Elements.ODF_Db_Key_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Key_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Key_Columns_Elements.ODF_Db_Key_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Keys
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Keys_Elements.ODF_Db_Keys_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Keys
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Keys_Elements.ODF_Db_Keys_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Login
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Login_Elements.ODF_Db_Login_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Login
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Login_Elements.ODF_Db_Login_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Order_Statement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Order_Statement_Elements.ODF_Db_Order_Statement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Order_Statement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Order_Statement_Elements.ODF_Db_Order_Statement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Queries
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Queries_Elements.ODF_Db_Queries_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Queries
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Queries_Elements.ODF_Db_Queries_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Query
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Query_Elements.ODF_Db_Query_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Query
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Query_Elements.ODF_Db_Query_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Query_Collection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Query_Collection_Elements.ODF_Db_Query_Collection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Query_Collection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Query_Collection_Elements.ODF_Db_Query_Collection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Reports
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Reports_Elements.ODF_Db_Reports_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Reports
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Reports_Elements.ODF_Db_Reports_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Schema_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Schema_Definition_Elements.ODF_Db_Schema_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Schema_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Schema_Definition_Elements.ODF_Db_Schema_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Server_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Server_Database_Elements.ODF_Db_Server_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Server_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Server_Database_Elements.ODF_Db_Server_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Definition_Elements.ODF_Db_Table_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Definition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Definition_Elements.ODF_Db_Table_Definition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Definitions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Definitions_Elements.ODF_Db_Table_Definitions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Definitions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Definitions_Elements.ODF_Db_Table_Definitions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Exclude_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Exclude_Filter_Elements.ODF_Db_Table_Exclude_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Exclude_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Exclude_Filter_Elements.ODF_Db_Table_Exclude_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Filter_Elements.ODF_Db_Table_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Filter_Elements.ODF_Db_Table_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Filter_Pattern
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Filter_Pattern_Elements.ODF_Db_Table_Filter_Pattern_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Filter_Pattern
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Filter_Pattern_Elements.ODF_Db_Table_Filter_Pattern_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Include_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Include_Filter_Elements.ODF_Db_Table_Include_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Include_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Include_Filter_Elements.ODF_Db_Table_Include_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Representation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Representation_Elements.ODF_Db_Table_Representation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Representation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Representation_Elements.ODF_Db_Table_Representation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Representations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Representations_Elements.ODF_Db_Table_Representations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Representations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Representations_Elements.ODF_Db_Table_Representations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Setting
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Setting_Elements.ODF_Db_Table_Setting_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Setting
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Setting_Elements.ODF_Db_Table_Setting_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Settings_Elements.ODF_Db_Table_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Settings_Elements.ODF_Db_Table_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Type
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Type_Elements.ODF_Db_Table_Type_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Type
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Type_Elements.ODF_Db_Table_Type_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Table_Type_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Type_Filter_Elements.ODF_Db_Table_Type_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Table_Type_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Table_Type_Filter_Elements.ODF_Db_Table_Type_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Db_Update_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Update_Table_Elements.ODF_Db_Update_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Db_Update_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Db_Update_Table_Elements.ODF_Db_Update_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Connector
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Connector_Elements.ODF_Draw_Connector_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Connector
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Connector_Elements.ODF_Draw_Connector_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Contour_Path
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Contour_Path_Elements.ODF_Draw_Contour_Path_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Contour_Path
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Contour_Path_Elements.ODF_Draw_Contour_Path_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Contour_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Contour_Polygon_Elements.ODF_Draw_Contour_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Contour_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Contour_Polygon_Elements.ODF_Draw_Contour_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Control
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Control_Elements.ODF_Draw_Control_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Control
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Control_Elements.ODF_Draw_Control_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Connection_Resource
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Connection_Resource_Elements.ODF_Form_Connection_Resource_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Connection_Resource
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Connection_Resource_Elements.ODF_Form_Connection_Resource_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Consolidation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Consolidation_Elements.ODF_Table_Consolidation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Consolidation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Consolidation_Elements.ODF_Table_Consolidation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Content_Validation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Content_Validation_Elements.ODF_Table_Content_Validation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Content_Validation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Content_Validation_Elements.ODF_Table_Content_Validation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Content_Validations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Content_Validations_Elements.ODF_Table_Content_Validations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Content_Validations
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Content_Validations_Elements.ODF_Table_Content_Validations_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Covered_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Covered_Table_Cell_Elements.ODF_Table_Covered_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Covered_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Covered_Table_Cell_Elements.ODF_Table_Covered_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Creation_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Creation_Date_Elements.ODF_Meta_Creation_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Creation_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Creation_Date_Elements.ODF_Meta_Creation_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Creation_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creation_Date_Elements.ODF_Text_Creation_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Creation_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creation_Date_Elements.ODF_Text_Creation_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Creation_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creation_Time_Elements.ODF_Text_Creation_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Creation_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creation_Time_Elements.ODF_Text_Creation_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Creator_Elements.ODF_Dc_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Creator_Elements.ODF_Dc_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Cube
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Cube_Elements.ODF_Dr3d_Cube_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Cube
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Cube_Elements.ODF_Dr3d_Cube_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Currency_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Currency_Style_Elements.ODF_Number_Currency_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Currency_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Currency_Style_Elements.ODF_Number_Currency_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Currency_Symbol
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Currency_Symbol_Elements.ODF_Number_Currency_Symbol_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Currency_Symbol
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Currency_Symbol_Elements.ODF_Number_Currency_Symbol_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Custom_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Custom_Shape_Elements.ODF_Draw_Custom_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Custom_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Custom_Shape_Elements.ODF_Draw_Custom_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Date_Elements.ODF_Form_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Date_Elements.ODF_Form_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Date_String
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Date_String_Elements.ODF_Meta_Date_String_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Date_String
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Date_String_Elements.ODF_Meta_Date_String_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Date_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Date_Style_Elements.ODF_Number_Date_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Date_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Date_Style_Elements.ODF_Number_Date_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Day
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Day_Elements.ODF_Number_Day_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Day
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Day_Elements.ODF_Number_Day_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Day_Of_Week
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Day_Of_Week_Elements.ODF_Number_Day_Of_Week_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Day_Of_Week
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Day_Of_Week_Elements.ODF_Number_Day_Of_Week_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Embedded_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Embedded_Text_Elements.ODF_Number_Embedded_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Embedded_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Embedded_Text_Elements.ODF_Number_Embedded_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Database_Elements.ODF_Office_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Database
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Database_Elements.ODF_Office_Database_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Dde_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Dde_Source_Elements.ODF_Office_Dde_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Dde_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Dde_Source_Elements.ODF_Office_Dde_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Date_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Date_Time_Elements.ODF_Presentation_Date_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Date_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Date_Time_Elements.ODF_Presentation_Date_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Date_Time_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Date_Time_Decl_Elements.ODF_Presentation_Date_Time_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Date_Time_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Date_Time_Decl_Elements.ODF_Presentation_Date_Time_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Default_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Default_Page_Layout_Elements.ODF_Style_Default_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Default_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Default_Page_Layout_Elements.ODF_Style_Default_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Default_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Default_Style_Elements.ODF_Style_Default_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Default_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Default_Style_Elements.ODF_Style_Default_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Drawing_Page_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Drawing_Page_Properties_Elements.ODF_Style_Drawing_Page_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Drawing_Page_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Drawing_Page_Properties_Elements.ODF_Style_Drawing_Page_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Drop_Cap
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Drop_Cap_Elements.ODF_Style_Drop_Cap_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Drop_Cap
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Drop_Cap_Elements.ODF_Style_Drop_Cap_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Definition_Src
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Definition_Src_Elements.ODF_Svg_Definition_Src_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Definition_Src
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Definition_Src_Elements.ODF_Svg_Definition_Src_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Dde_Link
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dde_Link_Elements.ODF_Table_Dde_Link_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Dde_Link
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dde_Link_Elements.ODF_Table_Dde_Link_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Dim
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Dim_Elements.ODF_Presentation_Dim_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Dim
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Dim_Elements.ODF_Presentation_Dim_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Enhanced_Geometry
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Enhanced_Geometry_Elements.ODF_Draw_Enhanced_Geometry_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Enhanced_Geometry
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Enhanced_Geometry_Elements.ODF_Draw_Enhanced_Geometry_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Extrude
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Extrude_Elements.ODF_Dr3d_Extrude_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Extrude
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Extrude_Elements.ODF_Dr3d_Extrude_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Light
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Light_Elements.ODF_Dr3d_Light_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Light
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Light_Elements.ODF_Dr3d_Light_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Rotate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Rotate_Elements.ODF_Dr3d_Rotate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Rotate
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Rotate_Elements.ODF_Dr3d_Rotate_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Scene
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Scene_Elements.ODF_Dr3d_Scene_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Scene
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Scene_Elements.ODF_Dr3d_Scene_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dr3d_Sphere
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Sphere_Elements.ODF_Dr3d_Sphere_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dr3d_Sphere
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dr3d_Sphere_Elements.ODF_Dr3d_Sphere_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Desc
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Desc_Elements.ODF_Svg_Desc_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Desc
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Desc_Elements.ODF_Svg_Desc_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Ellipse
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Ellipse_Elements.ODF_Draw_Ellipse_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Ellipse
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Ellipse_Elements.ODF_Draw_Ellipse_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Equation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Equation_Elements.ODF_Draw_Equation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Equation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Equation_Elements.ODF_Draw_Equation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Era
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Era_Elements.ODF_Number_Era_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Era
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Era_Elements.ODF_Number_Era_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Even_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Even_Columns_Elements.ODF_Table_Even_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Even_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Even_Columns_Elements.ODF_Table_Even_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Even_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Even_Rows_Elements.ODF_Table_Even_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Even_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Even_Rows_Elements.ODF_Table_Even_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Script_Event_Listener
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Script_Event_Listener_Elements.ODF_Script_Event_Listener_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Script_Event_Listener
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Script_Event_Listener_Elements.ODF_Script_Event_Listener_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_File
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_File_Elements.ODF_Form_File_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_File
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_File_Elements.ODF_Form_File_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Fixed_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Fixed_Text_Elements.ODF_Form_Fixed_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Fixed_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Fixed_Text_Elements.ODF_Form_Fixed_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Event_Listener
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Event_Listener_Elements.ODF_Presentation_Event_Listener_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Event_Listener
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Event_Listener_Elements.ODF_Presentation_Event_Listener_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Floating_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Floating_Frame_Elements.ODF_Draw_Floating_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Floating_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Floating_Frame_Elements.ODF_Draw_Floating_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Form
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Form_Elements.ODF_Form_Form_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Form
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Form_Elements.ODF_Form_Form_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Formatted_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Formatted_Text_Elements.ODF_Form_Formatted_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Formatted_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Formatted_Text_Elements.ODF_Form_Formatted_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Fraction
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Fraction_Elements.ODF_Number_Fraction_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Fraction
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Fraction_Elements.ODF_Number_Fraction_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Frame_Elements.ODF_Draw_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Frame_Elements.ODF_Draw_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Frame_Elements.ODF_Form_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Frame_Elements.ODF_Form_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Generic_Control
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Generic_Control_Elements.ODF_Form_Generic_Control_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Generic_Control
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Generic_Control_Elements.ODF_Form_Generic_Control_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Event_Listeners
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Event_Listeners_Elements.ODF_Office_Event_Listeners_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Event_Listeners
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Event_Listeners_Elements.ODF_Office_Event_Listeners_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Font_Face
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Font_Face_Elements.ODF_Style_Font_Face_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Font_Face
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Font_Face_Elements.ODF_Style_Font_Face_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Font_Face_Format
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Format_Elements.ODF_Svg_Font_Face_Format_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Font_Face_Format
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Format_Elements.ODF_Svg_Font_Face_Format_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Font_Face_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Name_Elements.ODF_Svg_Font_Face_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Font_Face_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Name_Elements.ODF_Svg_Font_Face_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Font_Face_Src
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Src_Elements.ODF_Svg_Font_Face_Src_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Font_Face_Src
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Src_Elements.ODF_Svg_Font_Face_Src_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Font_Face_Uri
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Uri_Elements.ODF_Svg_Font_Face_Uri_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Font_Face_Uri
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Font_Face_Uri_Elements.ODF_Svg_Font_Face_Uri_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_First_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_First_Column_Elements.ODF_Table_First_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_First_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_First_Column_Elements.ODF_Table_First_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_First_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_First_Row_Elements.ODF_Table_First_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_First_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_First_Row_Elements.ODF_Table_First_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Forms
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Forms_Elements.ODF_Office_Forms_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Forms
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Forms_Elements.ODF_Office_Forms_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Footer_Elements.ODF_Presentation_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Footer_Elements.ODF_Presentation_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Elements.ODF_Style_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Footer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Elements.ODF_Style_Footer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Footer_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Footer_Decl_Elements.ODF_Presentation_Footer_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Footer_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Footer_Decl_Elements.ODF_Presentation_Footer_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Footer_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Left_Elements.ODF_Style_Footer_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Footer_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Left_Elements.ODF_Style_Footer_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Footer_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Style_Elements.ODF_Style_Footer_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Footer_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footer_Style_Elements.ODF_Style_Footer_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Footnote_Sep
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footnote_Sep_Elements.ODF_Style_Footnote_Sep_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Footnote_Sep
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Footnote_Sep_Elements.ODF_Style_Footnote_Sep_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_G
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_G
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Glue_Point
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Glue_Point_Elements.ODF_Draw_Glue_Point_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Glue_Point
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Glue_Point_Elements.ODF_Draw_Glue_Point_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Gradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Gradient_Elements.ODF_Draw_Gradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Gradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Gradient_Elements.ODF_Draw_Gradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Graphic_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Graphic_Properties_Elements.ODF_Style_Graphic_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Graphic_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Graphic_Properties_Elements.ODF_Style_Graphic_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Grid
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Grid_Elements.ODF_Form_Grid_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Grid
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Grid_Elements.ODF_Form_Grid_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Handle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Handle_Elements.ODF_Draw_Handle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Handle
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Handle_Elements.ODF_Draw_Handle_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Hatch
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Hatch_Elements.ODF_Draw_Hatch_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Hatch
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Hatch_Elements.ODF_Draw_Hatch_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Hidden
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Hidden_Elements.ODF_Form_Hidden_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Hidden
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Hidden_Elements.ODF_Form_Hidden_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Hours
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Hours_Elements.ODF_Number_Hours_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Hours
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Hours_Elements.ODF_Number_Hours_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Image_Elements.ODF_Form_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Image_Elements.ODF_Form_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Image_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Image_Frame_Elements.ODF_Form_Image_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Image_Frame
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Image_Frame_Elements.ODF_Form_Image_Frame_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Header_Elements.ODF_Presentation_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Header_Elements.ODF_Presentation_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Elements.ODF_Style_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Elements.ODF_Style_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Header_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Header_Decl_Elements.ODF_Presentation_Header_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Header_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Header_Decl_Elements.ODF_Presentation_Header_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Header_Footer_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Footer_Properties_Elements.ODF_Style_Header_Footer_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Header_Footer_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Footer_Properties_Elements.ODF_Style_Header_Footer_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Header_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Left_Elements.ODF_Style_Header_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Header_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Left_Elements.ODF_Style_Header_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Header_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Style_Elements.ODF_Style_Header_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Header_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Header_Style_Elements.ODF_Style_Header_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Hide_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Hide_Shape_Elements.ODF_Presentation_Hide_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Hide_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Hide_Shape_Elements.ODF_Presentation_Hide_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Hide_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Hide_Text_Elements.ODF_Presentation_Hide_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Hide_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Hide_Text_Elements.ODF_Presentation_Hide_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Image_Elements.ODF_Draw_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Image_Elements.ODF_Draw_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Image_Map
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Image_Map_Elements.ODF_Draw_Image_Map_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Image_Map
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Image_Map_Elements.ODF_Draw_Image_Map_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Item_Elements.ODF_Form_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Item_Elements.ODF_Form_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Layer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Layer_Elements.ODF_Draw_Layer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Layer
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Layer_Elements.ODF_Draw_Layer_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Layer_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Layer_Set_Elements.ODF_Draw_Layer_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Layer_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Layer_Set_Elements.ODF_Draw_Layer_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Line
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Line_Elements.ODF_Draw_Line_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Line
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Line_Elements.ODF_Draw_Line_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_List_Level_Label_Alignment
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_List_Level_Label_Alignment_Elements.ODF_Style_List_Level_Label_Alignment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_List_Level_Label_Alignment
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_List_Level_Label_Alignment_Elements.ODF_Style_List_Level_Label_Alignment_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_List_Level_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_List_Level_Properties_Elements.ODF_Style_List_Level_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_List_Level_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_List_Level_Properties_Elements.ODF_Style_List_Level_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Marker
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_LinearGradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_LinearGradient_Elements.ODF_Svg_LinearGradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_LinearGradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_LinearGradient_Elements.ODF_Svg_LinearGradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_List_Property
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_List_Property_Elements.ODF_Form_List_Property_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_List_Property
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_List_Property_Elements.ODF_Form_List_Property_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_List_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_List_Value_Elements.ODF_Form_List_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_List_Value
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_List_Value_Elements.ODF_Form_List_Value_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Listbox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Listbox_Elements.ODF_Form_Listbox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Listbox
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Listbox_Elements.ODF_Form_Listbox_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Map
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Map_Elements.ODF_Style_Map_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Map
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Map_Elements.ODF_Style_Map_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Master_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Master_Page_Elements.ODF_Style_Master_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Master_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Master_Page_Elements.ODF_Style_Master_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Math_Math
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Math_Math_Elements.ODF_Math_Math_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Math_Math
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Math_Math_Elements.ODF_Math_Math_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Measure
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Measure_Elements.ODF_Draw_Measure_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Measure
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Measure_Elements.ODF_Draw_Measure_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Minutes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Minutes_Elements.ODF_Number_Minutes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Minutes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Minutes_Elements.ODF_Number_Minutes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Month
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Month_Elements.ODF_Number_Month_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Month
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Month_Elements.ODF_Number_Month_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Notes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Notes_Elements.ODF_Presentation_Notes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Notes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Notes_Elements.ODF_Presentation_Notes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Number_Elements.ODF_Form_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Number_Elements.ODF_Form_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Number_Elements.ODF_Number_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Number_Elements.ODF_Number_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Number_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Number_Style_Elements.ODF_Number_Number_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Number_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Number_Style_Elements.ODF_Number_Number_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Object
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Object_Elements.ODF_Draw_Object_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Object
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Object_Elements.ODF_Draw_Object_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Object_Ole
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Object_Ole_Elements.ODF_Draw_Object_Ole_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Object_Ole
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Object_Ole_Elements.ODF_Draw_Object_Ole_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Opacity
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Opacity_Elements.ODF_Draw_Opacity_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Opacity
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Opacity_Elements.ODF_Draw_Opacity_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Option
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Option_Elements.ODF_Form_Option_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Option
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Option_Elements.ODF_Form_Option_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Page_Elements.ODF_Draw_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Page_Elements.ODF_Draw_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Page_Layout_Elements.ODF_Style_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Page_Layout_Elements.ODF_Style_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Page_Layout_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Page_Layout_Properties_Elements.ODF_Style_Page_Layout_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Page_Layout_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Page_Layout_Properties_Elements.ODF_Style_Page_Layout_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Page_Thumbnail
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Page_Thumbnail_Elements.ODF_Draw_Page_Thumbnail_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Page_Thumbnail
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Page_Thumbnail_Elements.ODF_Draw_Page_Thumbnail_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Paragraph_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Paragraph_Properties_Elements.ODF_Style_Paragraph_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Paragraph_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Paragraph_Properties_Elements.ODF_Style_Paragraph_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Param
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Param_Elements.ODF_Draw_Param_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Param
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Param_Elements.ODF_Draw_Param_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Password
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Password_Elements.ODF_Form_Password_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Password
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Password_Elements.ODF_Form_Password_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Path
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Path_Elements.ODF_Draw_Path_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Path
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Path_Elements.ODF_Draw_Path_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Percentage_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Percentage_Style_Elements.ODF_Number_Percentage_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Percentage_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Percentage_Style_Elements.ODF_Number_Percentage_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Placeholder
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Placeholder_Elements.ODF_Presentation_Placeholder_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Placeholder
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Placeholder_Elements.ODF_Presentation_Placeholder_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Plugin
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Plugin_Elements.ODF_Draw_Plugin_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Plugin
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Plugin_Elements.ODF_Draw_Plugin_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Polygon_Elements.ODF_Draw_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Polygon_Elements.ODF_Draw_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Polyline
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Polyline_Elements.ODF_Draw_Polyline_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Polyline
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Polyline_Elements.ODF_Draw_Polyline_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Presentation_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Presentation_Page_Layout_Elements.ODF_Style_Presentation_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Presentation_Page_Layout
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Presentation_Page_Layout_Elements.ODF_Style_Presentation_Page_Layout_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Property
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Property_Elements.ODF_Form_Property_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Property
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Property_Elements.ODF_Form_Property_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Quarter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Quarter_Elements.ODF_Number_Quarter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Quarter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Quarter_Elements.ODF_Number_Quarter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_RadialGradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_RadialGradient_Elements.ODF_Svg_RadialGradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_RadialGradient
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_RadialGradient_Elements.ODF_Svg_RadialGradient_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Radio
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Radio_Elements.ODF_Form_Radio_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Radio
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Radio_Elements.ODF_Form_Radio_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Rect
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Rect_Elements.ODF_Draw_Rect_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Rect
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Rect_Elements.ODF_Draw_Rect_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Region_Center
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Center_Elements.ODF_Style_Region_Center_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Region_Center
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Center_Elements.ODF_Style_Region_Center_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Region_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Left_Elements.ODF_Style_Region_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Region_Left
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Left_Elements.ODF_Style_Region_Left_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Region_Right
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Right_Elements.ODF_Style_Region_Right_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Region_Right
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Region_Right_Elements.ODF_Style_Region_Right_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Regular_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Regular_Polygon_Elements.ODF_Draw_Regular_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Regular_Polygon
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Regular_Polygon_Elements.ODF_Draw_Regular_Polygon_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Ruby_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Ruby_Properties_Elements.ODF_Style_Ruby_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Ruby_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Ruby_Properties_Elements.ODF_Style_Ruby_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Stroke_Dash
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Stroke_Dash_Elements.ODF_Draw_Stroke_Dash_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Stroke_Dash
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Stroke_Dash_Elements.ODF_Draw_Stroke_Dash_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Scientific_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Scientific_Number_Elements.ODF_Number_Scientific_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Scientific_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Scientific_Number_Elements.ODF_Number_Scientific_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Seconds
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Seconds_Elements.ODF_Number_Seconds_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Seconds
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Seconds_Elements.ODF_Number_Seconds_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Section_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Section_Properties_Elements.ODF_Style_Section_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Section_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Section_Properties_Elements.ODF_Style_Section_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Stop_Elements.ODF_Svg_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Stop_Elements.ODF_Svg_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Elements.ODF_Number_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Elements.ODF_Number_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Style_Elements.ODF_Style_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Style_Elements.ODF_Style_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Tab_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Tab_Stop_Elements.ODF_Style_Tab_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Tab_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Tab_Stop_Elements.ODF_Style_Tab_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Tab_Stops
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Tab_Stops_Elements.ODF_Style_Tab_Stops_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Tab_Stops
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Tab_Stops_Elements.ODF_Style_Tab_Stops_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Table_Cell_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Cell_Properties_Elements.ODF_Style_Table_Cell_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Table_Cell_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Cell_Properties_Elements.ODF_Style_Table_Cell_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Table_Column_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Column_Properties_Elements.ODF_Style_Table_Column_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Table_Column_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Column_Properties_Elements.ODF_Style_Table_Column_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Table_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Properties_Elements.ODF_Style_Table_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Table_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Properties_Elements.ODF_Style_Table_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Table_Row_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Row_Properties_Elements.ODF_Style_Table_Row_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Table_Row_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Table_Row_Properties_Elements.ODF_Style_Table_Row_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Text_Elements.ODF_Form_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Text_Elements.ODF_Form_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Draw_Text_Box
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Text_Box_Elements.ODF_Draw_Text_Box_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Draw_Text_Box
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Draw_Text_Box_Elements.ODF_Draw_Text_Box_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Text_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Content_Elements.ODF_Number_Text_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Text_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Content_Elements.ODF_Number_Text_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Text_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Text_Properties_Elements.ODF_Style_Text_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Text_Properties
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Text_Properties_Elements.ODF_Style_Text_Properties_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Text_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Style_Elements.ODF_Number_Text_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Text_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Text_Style_Elements.ODF_Number_Text_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Textarea
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Textarea_Elements.ODF_Form_Textarea_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Textarea
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Textarea_Elements.ODF_Form_Textarea_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Time_Elements.ODF_Form_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Time_Elements.ODF_Form_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Time_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Time_Style_Elements.ODF_Number_Time_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Time_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Time_Style_Elements.ODF_Number_Time_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Form_Value_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Value_Range_Elements.ODF_Form_Value_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Form_Value_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Form_Value_Range_Elements.ODF_Form_Value_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Week_Of_Year
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Week_Of_Year_Elements.ODF_Number_Week_Of_Year_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Week_Of_Year
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Week_Of_Year_Elements.ODF_Number_Week_Of_Year_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Number_Year
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Year_Elements.ODF_Number_Year_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Number_Year
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Number_Year_Elements.ODF_Number_Year_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Cut_Offs
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cut_Offs_Elements.ODF_Table_Cut_Offs_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Cut_Offs
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Cut_Offs_Elements.ODF_Table_Cut_Offs_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Display_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Display_Info_Elements.ODF_Table_Data_Pilot_Display_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Display_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Display_Info_Elements.ODF_Table_Data_Pilot_Display_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Field_Elements.ODF_Table_Data_Pilot_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Field_Elements.ODF_Table_Data_Pilot_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Field_Reference
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Field_Reference_Elements.ODF_Table_Data_Pilot_Field_Reference_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Field_Reference
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Field_Reference_Elements.ODF_Table_Data_Pilot_Field_Reference_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Group_Elements.ODF_Table_Data_Pilot_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Group_Elements.ODF_Table_Data_Pilot_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Group_Member
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Group_Member_Elements.ODF_Table_Data_Pilot_Group_Member_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Group_Member
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Group_Member_Elements.ODF_Table_Data_Pilot_Group_Member_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Groups
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Groups_Elements.ODF_Table_Data_Pilot_Groups_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Groups
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Groups_Elements.ODF_Table_Data_Pilot_Groups_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Layout_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Layout_Info_Elements.ODF_Table_Data_Pilot_Layout_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Layout_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Layout_Info_Elements.ODF_Table_Data_Pilot_Layout_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Level
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Level_Elements.ODF_Table_Data_Pilot_Level_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Level
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Level_Elements.ODF_Table_Data_Pilot_Level_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Member
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Member_Elements.ODF_Table_Data_Pilot_Member_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Member
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Member_Elements.ODF_Table_Data_Pilot_Member_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Members
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Members_Elements.ODF_Table_Data_Pilot_Members_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Members
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Members_Elements.ODF_Table_Data_Pilot_Members_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Sort_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Sort_Info_Elements.ODF_Table_Data_Pilot_Sort_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Sort_Info
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Sort_Info_Elements.ODF_Table_Data_Pilot_Sort_Info_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Subtotal
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Subtotal_Elements.ODF_Table_Data_Pilot_Subtotal_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Subtotal
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Subtotal_Elements.ODF_Table_Data_Pilot_Subtotal_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Subtotals
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Subtotals_Elements.ODF_Table_Data_Pilot_Subtotals_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Subtotals
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Subtotals_Elements.ODF_Table_Data_Pilot_Subtotals_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Table_Elements.ODF_Table_Data_Pilot_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Table_Elements.ODF_Table_Data_Pilot_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Data_Pilot_Tables
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Tables_Elements.ODF_Table_Data_Pilot_Tables_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Data_Pilot_Tables
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Data_Pilot_Tables_Elements.ODF_Table_Data_Pilot_Tables_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Database_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Range_Elements.ODF_Table_Database_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Database_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Range_Elements.ODF_Table_Database_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Database_Ranges
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Database_Ranges
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Database_Source_Query
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Query_Elements.ODF_Table_Database_Source_Query_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Database_Source_Query
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Query_Elements.ODF_Table_Database_Source_Query_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Database_Source_Sql
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Sql_Elements.ODF_Table_Database_Source_Sql_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Database_Source_Sql
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Sql_Elements.ODF_Table_Database_Source_Sql_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Database_Source_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Table_Elements.ODF_Table_Database_Source_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Database_Source_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Database_Source_Table_Elements.ODF_Table_Database_Source_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Dde_Links
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dde_Links_Elements.ODF_Table_Dde_Links_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Dde_Links
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dde_Links_Elements.ODF_Table_Dde_Links_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Deletion_Elements.ODF_Table_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Deletion_Elements.ODF_Table_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Deletions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Deletions_Elements.ODF_Table_Deletions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Deletions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Deletions_Elements.ODF_Table_Deletions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Dependencies
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dependencies_Elements.ODF_Table_Dependencies_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Dependencies
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dependencies_Elements.ODF_Table_Dependencies_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Dependency
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dependency_Elements.ODF_Table_Dependency_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Dependency
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Dependency_Elements.ODF_Table_Dependency_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Desc
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Desc_Elements.ODF_Table_Desc_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Desc
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Desc_Elements.ODF_Table_Desc_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Last_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Last_Column_Elements.ODF_Table_Last_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Last_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Last_Column_Elements.ODF_Table_Last_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Last_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Last_Row_Elements.ODF_Table_Last_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Last_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Last_Row_Elements.ODF_Table_Last_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Odd_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Odd_Columns_Elements.ODF_Table_Odd_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Odd_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Odd_Columns_Elements.ODF_Table_Odd_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Odd_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Odd_Rows_Elements.ODF_Table_Odd_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Odd_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Odd_Rows_Elements.ODF_Table_Odd_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Template_Elements.ODF_Table_Table_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Template_Elements.ODF_Table_Table_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creator_Elements.ODF_Text_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Creator_Elements.ODF_Text_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Database_Display
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Display_Elements.ODF_Text_Database_Display_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Database_Display
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Display_Elements.ODF_Text_Database_Display_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Database_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Name_Elements.ODF_Text_Database_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Database_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Name_Elements.ODF_Text_Database_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Database_Next
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Next_Elements.ODF_Text_Database_Next_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Database_Next
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Next_Elements.ODF_Text_Database_Next_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Database_Row_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Row_Number_Elements.ODF_Text_Database_Row_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Database_Row_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Row_Number_Elements.ODF_Text_Database_Row_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Database_Row_Select
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Row_Select_Elements.ODF_Text_Database_Row_Select_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Database_Row_Select
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Database_Row_Select_Elements.ODF_Text_Database_Row_Select_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Date_Elements.ODF_Dc_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Date_Elements.ODF_Dc_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Date_Elements.ODF_Text_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Date_Elements.ODF_Text_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Dde_Connection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Elements.ODF_Text_Dde_Connection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Dde_Connection
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Elements.ODF_Text_Dde_Connection_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Dde_Connection_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Decl_Elements.ODF_Text_Dde_Connection_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Dde_Connection_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Decl_Elements.ODF_Text_Dde_Connection_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Dde_Connection_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Decls_Elements.ODF_Text_Dde_Connection_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Dde_Connection_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Dde_Connection_Decls_Elements.ODF_Text_Dde_Connection_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Deletion_Elements.ODF_Text_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Deletion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Deletion_Elements.ODF_Text_Deletion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Description_Elements.ODF_Dc_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Description_Elements.ODF_Dc_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Detective
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Detective_Elements.ODF_Table_Detective_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Detective
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Detective_Elements.ODF_Table_Detective_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Description_Elements.ODF_Text_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Description
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Description_Elements.ODF_Text_Description_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Document_Statistic
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Document_Statistic_Elements.ODF_Meta_Document_Statistic_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Document_Statistic
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Document_Statistic_Elements.ODF_Meta_Document_Statistic_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Editing_Cycles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Editing_Cycles_Elements.ODF_Meta_Editing_Cycles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Editing_Cycles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Editing_Cycles_Elements.ODF_Meta_Editing_Cycles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Editing_Duration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Editing_Duration_Elements.ODF_Meta_Editing_Duration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Editing_Duration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Editing_Duration_Elements.ODF_Meta_Editing_Duration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Language
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Language_Elements.ODF_Dc_Language_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Language
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Language_Elements.ODF_Dc_Language_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Subject
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Subject_Elements.ODF_Dc_Subject_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Subject
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Subject_Elements.ODF_Dc_Subject_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Dc_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Title_Elements.ODF_Dc_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Dc_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Dc_Title_Elements.ODF_Dc_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Generator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Generator_Elements.ODF_Meta_Generator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Generator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Generator_Elements.ODF_Meta_Generator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Hyperlink_Behaviour
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Hyperlink_Behaviour_Elements.ODF_Meta_Hyperlink_Behaviour_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Hyperlink_Behaviour
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Hyperlink_Behaviour_Elements.ODF_Meta_Hyperlink_Behaviour_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Initial_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Initial_Creator_Elements.ODF_Meta_Initial_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Initial_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Initial_Creator_Elements.ODF_Meta_Initial_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Keyword
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Keyword_Elements.ODF_Meta_Keyword_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Keyword
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Keyword_Elements.ODF_Meta_Keyword_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Print_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Print_Date_Elements.ODF_Meta_Print_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Print_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Print_Date_Elements.ODF_Meta_Print_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Printed_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Printed_By_Elements.ODF_Meta_Printed_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Printed_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Printed_By_Elements.ODF_Meta_Printed_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Template_Elements.ODF_Meta_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_Template_Elements.ODF_Meta_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Meta_User_Defined
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_User_Defined_Elements.ODF_Meta_User_Defined_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Meta_User_Defined
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Meta_User_Defined_Elements.ODF_Meta_User_Defined_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Body_Elements.ODF_Office_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Body_Elements.ODF_Office_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Chart
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Chart_Elements.ODF_Office_Chart_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Chart
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Chart_Elements.ODF_Office_Chart_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Document
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Elements.ODF_Office_Document_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Document
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Elements.ODF_Office_Document_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Document_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Content_Elements.ODF_Office_Document_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Document_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Content_Elements.ODF_Office_Document_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Document_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Meta_Elements.ODF_Office_Document_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Document_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Meta_Elements.ODF_Office_Document_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Document_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Settings_Elements.ODF_Office_Document_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Document_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Settings_Elements.ODF_Office_Document_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Document_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Styles_Elements.ODF_Office_Document_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Document_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Document_Styles_Elements.ODF_Office_Document_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Drawing
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Drawing_Elements.ODF_Office_Drawing_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Drawing
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Drawing_Elements.ODF_Office_Drawing_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Style_Handout_Master
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Handout_Master_Elements.ODF_Style_Handout_Master_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Style_Handout_Master
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Style_Handout_Master_Elements.ODF_Style_Handout_Master_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Error_Macro
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Error_Macro_Elements.ODF_Table_Error_Macro_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Error_Macro
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Error_Macro_Elements.ODF_Table_Error_Macro_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Error_Message
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Error_Message_Elements.ODF_Table_Error_Message_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Error_Message
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Error_Message_Elements.ODF_Table_Error_Message_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Elements.ODF_Table_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Filter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Elements.ODF_Table_Filter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Filter_And
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_And_Elements.ODF_Table_Filter_And_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Filter_And
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_And_Elements.ODF_Table_Filter_And_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Filter_Condition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Condition_Elements.ODF_Table_Filter_Condition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Filter_Condition
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Condition_Elements.ODF_Table_Filter_Condition_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Filter_Or
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Or_Elements.ODF_Table_Filter_Or_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Filter_Or
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Or_Elements.ODF_Table_Filter_Or_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Filter_Set_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Set_Item_Elements.ODF_Table_Filter_Set_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Filter_Set_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Filter_Set_Item_Elements.ODF_Table_Filter_Set_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Help_Message
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Help_Message_Elements.ODF_Table_Help_Message_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Help_Message
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Help_Message_Elements.ODF_Table_Help_Message_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Highlighted_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Highlighted_Range_Elements.ODF_Table_Highlighted_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Highlighted_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Highlighted_Range_Elements.ODF_Table_Highlighted_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Editing_Cycles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Editing_Cycles_Elements.ODF_Text_Editing_Cycles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Editing_Cycles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Editing_Cycles_Elements.ODF_Text_Editing_Cycles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Editing_Duration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Editing_Duration_Elements.ODF_Text_Editing_Duration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Editing_Duration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Editing_Duration_Elements.ODF_Text_Editing_Duration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Execute_Macro
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Execute_Macro_Elements.ODF_Text_Execute_Macro_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Execute_Macro
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Execute_Macro_Elements.ODF_Text_Execute_Macro_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Expression
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Expression_Elements.ODF_Text_Expression_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Expression
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Expression_Elements.ODF_Text_Expression_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_File_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_File_Name_Elements.ODF_Text_File_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_File_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_File_Name_Elements.ODF_Text_File_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Font_Face_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Font_Face_Decls_Elements.ODF_Office_Font_Face_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Font_Face_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Font_Face_Decls_Elements.ODF_Office_Font_Face_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Format_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Format_Change_Elements.ODF_Text_Format_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Format_Change
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Format_Change_Elements.ODF_Text_Format_Change_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_H
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_H_Elements.ODF_Text_H_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_H
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_H_Elements.ODF_Text_H_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Hidden_Paragraph
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Hidden_Paragraph_Elements.ODF_Text_Hidden_Paragraph_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Hidden_Paragraph
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Hidden_Paragraph_Elements.ODF_Text_Hidden_Paragraph_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Hidden_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Hidden_Text_Elements.ODF_Text_Hidden_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Hidden_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Hidden_Text_Elements.ODF_Text_Hidden_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Illustration_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Elements.ODF_Text_Illustration_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Illustration_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Elements.ODF_Text_Illustration_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Illustration_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Entry_Template_Elements.ODF_Text_Illustration_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Illustration_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Entry_Template_Elements.ODF_Text_Illustration_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Illustration_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Source_Elements.ODF_Text_Illustration_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Illustration_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Illustration_Index_Source_Elements.ODF_Text_Illustration_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Image_Elements.ODF_Office_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Image_Elements.ODF_Office_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Insertion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Insertion_Elements.ODF_Table_Insertion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Insertion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Insertion_Elements.ODF_Table_Insertion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Insertion_Cut_Off
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Insertion_Cut_Off_Elements.ODF_Table_Insertion_Cut_Off_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Insertion_Cut_Off
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Insertion_Cut_Off_Elements.ODF_Table_Insertion_Cut_Off_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Iteration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Iteration_Elements.ODF_Table_Iteration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Iteration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Iteration_Elements.ODF_Table_Iteration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Label_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Label_Range_Elements.ODF_Table_Label_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Label_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Label_Range_Elements.ODF_Table_Label_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Label_Ranges
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Label_Ranges_Elements.ODF_Table_Label_Ranges_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Label_Ranges
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Label_Ranges_Elements.ODF_Table_Label_Ranges_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Image_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Image_Count_Elements.ODF_Text_Image_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Image_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Image_Count_Elements.ODF_Text_Image_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Body_Elements.ODF_Text_Index_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Body_Elements.ODF_Text_Index_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Bibliography
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Bibliography_Elements.ODF_Text_Index_Entry_Bibliography_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Bibliography
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Bibliography_Elements.ODF_Text_Index_Entry_Bibliography_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Chapter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Chapter_Elements.ODF_Text_Index_Entry_Chapter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Chapter
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Chapter_Elements.ODF_Text_Index_Entry_Chapter_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Link_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Link_End_Elements.ODF_Text_Index_Entry_Link_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Link_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Link_End_Elements.ODF_Text_Index_Entry_Link_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Link_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Link_Start_Elements.ODF_Text_Index_Entry_Link_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Link_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Link_Start_Elements.ODF_Text_Index_Entry_Link_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Page_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Page_Number_Elements.ODF_Text_Index_Entry_Page_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Page_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Page_Number_Elements.ODF_Text_Index_Entry_Page_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Span
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Span_Elements.ODF_Text_Index_Entry_Span_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Span
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Span_Elements.ODF_Text_Index_Entry_Span_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Tab_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Tab_Stop_Elements.ODF_Text_Index_Entry_Tab_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Tab_Stop
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Tab_Stop_Elements.ODF_Text_Index_Entry_Tab_Stop_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Entry_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Text_Elements.ODF_Text_Index_Entry_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Entry_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Entry_Text_Elements.ODF_Text_Index_Entry_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Source_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Source_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Source_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Source_Styles_Elements.ODF_Text_Index_Source_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Source_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Source_Styles_Elements.ODF_Text_Index_Source_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Title_Elements.ODF_Text_Index_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Title_Elements.ODF_Text_Index_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Index_Title_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Title_Template_Elements.ODF_Text_Index_Title_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Index_Title_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Index_Title_Template_Elements.ODF_Text_Index_Title_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Initial_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Initial_Creator_Elements.ODF_Text_Initial_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Initial_Creator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Initial_Creator_Elements.ODF_Text_Initial_Creator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Insertion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Insertion_Elements.ODF_Text_Insertion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Insertion
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Insertion_Elements.ODF_Text_Insertion_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Keywords
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Keywords_Elements.ODF_Text_Keywords_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Keywords
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Keywords_Elements.ODF_Text_Keywords_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Line_Break
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Line_Break_Elements.ODF_Text_Line_Break_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Line_Break
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Line_Break_Elements.ODF_Text_Line_Break_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Linenumbering_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Linenumbering_Configuration_Elements.ODF_Text_Linenumbering_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Linenumbering_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Linenumbering_Configuration_Elements.ODF_Text_Linenumbering_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Linenumbering_Separator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Linenumbering_Separator_Elements.ODF_Text_Linenumbering_Separator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Linenumbering_Separator
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Linenumbering_Separator_Elements.ODF_Text_Linenumbering_Separator_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Elements.ODF_Text_List_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Elements.ODF_Text_List_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Header_Elements.ODF_Text_List_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Header
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Header_Elements.ODF_Text_List_Header_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Item_Elements.ODF_Text_List_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Item
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Item_Elements.ODF_Text_List_Item_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Level_Style_Bullet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Bullet_Elements.ODF_Text_List_Level_Style_Bullet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Level_Style_Bullet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Bullet_Elements.ODF_Text_List_Level_Style_Bullet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Level_Style_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Image_Elements.ODF_Text_List_Level_Style_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Level_Style_Image
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Image_Elements.ODF_Text_List_Level_Style_Image_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Level_Style_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Number_Elements.ODF_Text_List_Level_Style_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Level_Style_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Level_Style_Number_Elements.ODF_Text_List_Level_Style_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_List_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Style_Elements.ODF_Text_List_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_List_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_List_Style_Elements.ODF_Text_List_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Master_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Master_Styles_Elements.ODF_Office_Master_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Master_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Master_Styles_Elements.ODF_Office_Master_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Measure
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Measure_Elements.ODF_Text_Measure_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Measure
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Measure_Elements.ODF_Text_Measure_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Meta_Elements.ODF_Office_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Meta_Elements.ODF_Office_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Play
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Play_Elements.ODF_Presentation_Play_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Play
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Play_Elements.ODF_Presentation_Play_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Show
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Elements.ODF_Presentation_Show_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Show
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Elements.ODF_Presentation_Show_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Show_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Shape_Elements.ODF_Presentation_Show_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Show_Shape
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Shape_Elements.ODF_Presentation_Show_Shape_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Show_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Text_Elements.ODF_Presentation_Show_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Show_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Show_Text_Elements.ODF_Presentation_Show_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Presentation_Sound
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Sound_Elements.ODF_Presentation_Sound_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Presentation_Sound
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Presentation_Sound_Elements.ODF_Presentation_Sound_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Svg_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Title_Elements.ODF_Svg_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Svg_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Svg_Title_Elements.ODF_Svg_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Movement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Movement_Elements.ODF_Table_Movement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Movement
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Movement_Elements.ODF_Table_Movement_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Movement_Cut_Off
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Movement_Cut_Off_Elements.ODF_Table_Movement_Cut_Off_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Movement_Cut_Off
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Movement_Cut_Off_Elements.ODF_Table_Movement_Cut_Off_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Named_Expression
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Expression_Elements.ODF_Table_Named_Expression_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Named_Expression
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Expression_Elements.ODF_Table_Named_Expression_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Named_Expressions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Expressions_Elements.ODF_Table_Named_Expressions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Named_Expressions
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Expressions_Elements.ODF_Table_Named_Expressions_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Named_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Range_Elements.ODF_Table_Named_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Named_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Named_Range_Elements.ODF_Table_Named_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Null_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Null_Date_Elements.ODF_Table_Null_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Null_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Null_Date_Elements.ODF_Table_Null_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Operation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Operation_Elements.ODF_Table_Operation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Operation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Operation_Elements.ODF_Table_Operation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Previous
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Previous_Elements.ODF_Table_Previous_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Previous
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Previous_Elements.ODF_Table_Previous_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Scenario
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Scenario_Elements.ODF_Table_Scenario_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Scenario
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Scenario_Elements.ODF_Table_Scenario_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Shapes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Shapes_Elements.ODF_Table_Shapes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Shapes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Shapes_Elements.ODF_Table_Shapes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Sort
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_Elements.ODF_Table_Sort_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Sort
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_Elements.ODF_Table_Sort_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Sort_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_By_Elements.ODF_Table_Sort_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Sort_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_By_Elements.ODF_Table_Sort_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Sort_Groups
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_Groups_Elements.ODF_Table_Sort_Groups_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Sort_Groups
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Sort_Groups_Elements.ODF_Table_Sort_Groups_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Source_Cell_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Cell_Range_Elements.ODF_Table_Source_Cell_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Source_Cell_Range
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Cell_Range_Elements.ODF_Table_Source_Cell_Range_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Source_Range_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Range_Address_Elements.ODF_Table_Source_Range_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Source_Range_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Range_Address_Elements.ODF_Table_Source_Range_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Source_Service
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Service_Elements.ODF_Table_Source_Service_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Source_Service
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Source_Service_Elements.ODF_Table_Source_Service_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Subtotal_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Field_Elements.ODF_Table_Subtotal_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Subtotal_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Field_Elements.ODF_Table_Subtotal_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Subtotal_Rule
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Subtotal_Rule
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Subtotal_Rules
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Rules_Elements.ODF_Table_Subtotal_Rules_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Subtotal_Rules
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Subtotal_Rules_Elements.ODF_Table_Subtotal_Rules_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Elements.ODF_Table_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Elements.ODF_Table_Table_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Cell_Elements.ODF_Table_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Cell
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Cell_Elements.ODF_Table_Table_Cell_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Column_Elements.ODF_Table_Table_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Column
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Column_Elements.ODF_Table_Table_Column_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Column_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Column_Group_Elements.ODF_Table_Table_Column_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Column_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Column_Group_Elements.ODF_Table_Table_Column_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Columns_Elements.ODF_Table_Table_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Columns_Elements.ODF_Table_Table_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Header_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Header_Columns_Elements.ODF_Table_Table_Header_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Header_Columns
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Header_Columns_Elements.ODF_Table_Table_Header_Columns_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Header_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Header_Rows_Elements.ODF_Table_Table_Header_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Header_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Header_Rows_Elements.ODF_Table_Table_Header_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Row_Elements.ODF_Table_Table_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Row
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Row_Elements.ODF_Table_Table_Row_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Row_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Row_Group_Elements.ODF_Table_Table_Row_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Row_Group
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Row_Group_Elements.ODF_Table_Table_Row_Group_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Rows_Elements.ODF_Table_Table_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Rows
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Rows_Elements.ODF_Table_Table_Rows_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Table_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Source_Elements.ODF_Table_Table_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Table_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Table_Source_Elements.ODF_Table_Table_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Target_Range_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Target_Range_Address_Elements.ODF_Table_Target_Range_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Target_Range_Address
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Target_Range_Address_Elements.ODF_Table_Target_Range_Address_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Title_Elements.ODF_Table_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Title_Elements.ODF_Table_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Table_Tracked_Changes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Tracked_Changes_Elements.ODF_Table_Tracked_Changes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Table_Tracked_Changes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Table_Tracked_Changes_Elements.ODF_Table_Tracked_Changes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Meta_Elements.ODF_Text_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Meta
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Meta_Elements.ODF_Text_Meta_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Meta_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Meta_Field_Elements.ODF_Text_Meta_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Meta_Field
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Meta_Field_Elements.ODF_Text_Meta_Field_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Xforms_Model
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Xforms_Model_Elements.ODF_Xforms_Model_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Xforms_Model
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Xforms_Model_Elements.ODF_Xforms_Model_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Modification_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Modification_Date_Elements.ODF_Text_Modification_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Modification_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Modification_Date_Elements.ODF_Text_Modification_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Modification_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Modification_Time_Elements.ODF_Text_Modification_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Modification_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Modification_Time_Elements.ODF_Text_Modification_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Elements.ODF_Text_Note_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Elements.ODF_Text_Note_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Body_Elements.ODF_Text_Note_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note_Body
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Body_Elements.ODF_Text_Note_Body_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note_Citation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Citation_Elements.ODF_Text_Note_Citation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note_Citation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Citation_Elements.ODF_Text_Note_Citation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note_Continuation_Notice_Backward
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Continuation_Notice_Backward_Elements.ODF_Text_Note_Continuation_Notice_Backward_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note_Continuation_Notice_Backward
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Continuation_Notice_Backward_Elements.ODF_Text_Note_Continuation_Notice_Backward_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note_Continuation_Notice_Forward
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Continuation_Notice_Forward_Elements.ODF_Text_Note_Continuation_Notice_Forward_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note_Continuation_Notice_Forward
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Continuation_Notice_Forward_Elements.ODF_Text_Note_Continuation_Notice_Forward_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Note_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Ref_Elements.ODF_Text_Note_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Note_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Note_Ref_Elements.ODF_Text_Note_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Notes_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Notes_Configuration_Elements.ODF_Text_Notes_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Notes_Configuration
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Notes_Configuration_Elements.ODF_Text_Notes_Configuration_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Number_Elements.ODF_Text_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Number_Elements.ODF_Text_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Numbered_Paragraph
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Numbered_Paragraph_Elements.ODF_Text_Numbered_Paragraph_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Numbered_Paragraph
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Numbered_Paragraph_Elements.ODF_Text_Numbered_Paragraph_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Object_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Count_Elements.ODF_Text_Object_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Object_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Count_Elements.ODF_Text_Object_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Object_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Elements.ODF_Text_Object_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Object_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Elements.ODF_Text_Object_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Object_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Entry_Template_Elements.ODF_Text_Object_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Object_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Entry_Template_Elements.ODF_Text_Object_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Object_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Source_Elements.ODF_Text_Object_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Object_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Object_Index_Source_Elements.ODF_Text_Object_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Outline_Level_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Outline_Level_Style_Elements.ODF_Text_Outline_Level_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Outline_Level_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Outline_Level_Style_Elements.ODF_Text_Outline_Level_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Outline_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Outline_Style_Elements.ODF_Text_Outline_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Outline_Style
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Outline_Style_Elements.ODF_Text_Outline_Style_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_P
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_P_Elements.ODF_Text_P_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_P
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_P_Elements.ODF_Text_P_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Elements.ODF_Text_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Elements.ODF_Text_Page_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Continuation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Continuation_Elements.ODF_Text_Page_Continuation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Continuation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Continuation_Elements.ODF_Text_Page_Continuation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Count_Elements.ODF_Text_Page_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Count_Elements.ODF_Text_Page_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Number_Elements.ODF_Text_Page_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Number
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Number_Elements.ODF_Text_Page_Number_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Sequence
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Sequence_Elements.ODF_Text_Page_Sequence_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Sequence
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Sequence_Elements.ODF_Text_Page_Sequence_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Variable_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Variable_Get_Elements.ODF_Text_Page_Variable_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Variable_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Variable_Get_Elements.ODF_Text_Page_Variable_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Page_Variable_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Variable_Set_Elements.ODF_Text_Page_Variable_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Page_Variable_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Page_Variable_Set_Elements.ODF_Text_Page_Variable_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Paragraph_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Paragraph_Count_Elements.ODF_Text_Paragraph_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Paragraph_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Paragraph_Count_Elements.ODF_Text_Paragraph_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Placeholder
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Placeholder_Elements.ODF_Text_Placeholder_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Placeholder
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Placeholder_Elements.ODF_Text_Placeholder_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Presentation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Presentation_Elements.ODF_Office_Presentation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Presentation
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Presentation_Elements.ODF_Office_Presentation_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Print_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Print_Date_Elements.ODF_Text_Print_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Print_Date
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Print_Date_Elements.ODF_Text_Print_Date_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Print_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Print_Time_Elements.ODF_Text_Print_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Print_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Print_Time_Elements.ODF_Text_Print_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Printed_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Printed_By_Elements.ODF_Text_Printed_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Printed_By
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Printed_By_Elements.ODF_Text_Printed_By_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Reference_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_Elements.ODF_Text_Reference_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Reference_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_Elements.ODF_Text_Reference_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Reference_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_End_Elements.ODF_Text_Reference_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Reference_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_End_Elements.ODF_Text_Reference_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Reference_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_Start_Elements.ODF_Text_Reference_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Reference_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Mark_Start_Elements.ODF_Text_Reference_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Reference_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Ref_Elements.ODF_Text_Reference_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Reference_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Reference_Ref_Elements.ODF_Text_Reference_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Ruby
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Elements.ODF_Text_Ruby_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Ruby
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Elements.ODF_Text_Ruby_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Ruby_Base
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Base_Elements.ODF_Text_Ruby_Base_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Ruby_Base
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Base_Elements.ODF_Text_Ruby_Base_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Ruby_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Text_Elements.ODF_Text_Ruby_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Ruby_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Ruby_Text_Elements.ODF_Text_Ruby_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_S
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_S_Elements.ODF_Text_S_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_S
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_S_Elements.ODF_Text_S_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Script
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Script_Elements.ODF_Office_Script_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Script
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Script_Elements.ODF_Office_Script_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Script
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Script_Elements.ODF_Text_Script_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Script
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Script_Elements.ODF_Text_Script_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Scripts
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Scripts_Elements.ODF_Office_Scripts_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Scripts
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Scripts_Elements.ODF_Office_Scripts_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Section
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Section_Elements.ODF_Text_Section_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Section
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Section_Elements.ODF_Text_Section_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Section_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Section_Source_Elements.ODF_Text_Section_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Section_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Section_Source_Elements.ODF_Text_Section_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_City
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_City_Elements.ODF_Text_Sender_City_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_City
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_City_Elements.ODF_Text_Sender_City_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Company
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Company_Elements.ODF_Text_Sender_Company_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Company
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Company_Elements.ODF_Text_Sender_Company_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Country
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Country_Elements.ODF_Text_Sender_Country_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Country
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Country_Elements.ODF_Text_Sender_Country_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Email
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Email_Elements.ODF_Text_Sender_Email_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Email
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Email_Elements.ODF_Text_Sender_Email_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Fax
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Fax_Elements.ODF_Text_Sender_Fax_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Fax
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Fax_Elements.ODF_Text_Sender_Fax_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Firstname
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Firstname_Elements.ODF_Text_Sender_Firstname_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Firstname
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Firstname_Elements.ODF_Text_Sender_Firstname_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Initials
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Initials_Elements.ODF_Text_Sender_Initials_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Initials
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Initials_Elements.ODF_Text_Sender_Initials_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Lastname
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Lastname_Elements.ODF_Text_Sender_Lastname_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Lastname
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Lastname_Elements.ODF_Text_Sender_Lastname_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Phone_Private
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Phone_Private_Elements.ODF_Text_Sender_Phone_Private_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Phone_Private
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Phone_Private_Elements.ODF_Text_Sender_Phone_Private_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Phone_Work
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Phone_Work_Elements.ODF_Text_Sender_Phone_Work_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Phone_Work
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Phone_Work_Elements.ODF_Text_Sender_Phone_Work_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Position
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Position_Elements.ODF_Text_Sender_Position_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Position
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Position_Elements.ODF_Text_Sender_Position_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Postal_Code
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Postal_Code_Elements.ODF_Text_Sender_Postal_Code_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Postal_Code
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Postal_Code_Elements.ODF_Text_Sender_Postal_Code_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_State_Or_Province
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_State_Or_Province_Elements.ODF_Text_Sender_State_Or_Province_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_State_Or_Province
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_State_Or_Province_Elements.ODF_Text_Sender_State_Or_Province_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Street
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Street_Elements.ODF_Text_Sender_Street_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Street
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Street_Elements.ODF_Text_Sender_Street_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sender_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Title_Elements.ODF_Text_Sender_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sender_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sender_Title_Elements.ODF_Text_Sender_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sequence
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Elements.ODF_Text_Sequence_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sequence
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Elements.ODF_Text_Sequence_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sequence_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Decl_Elements.ODF_Text_Sequence_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sequence_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Decl_Elements.ODF_Text_Sequence_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sequence_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Decls_Elements.ODF_Text_Sequence_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sequence_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Decls_Elements.ODF_Text_Sequence_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sequence_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Ref_Elements.ODF_Text_Sequence_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sequence_Ref
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sequence_Ref_Elements.ODF_Text_Sequence_Ref_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Settings_Elements.ODF_Office_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Settings
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Settings_Elements.ODF_Office_Settings_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sheet_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sheet_Name_Elements.ODF_Text_Sheet_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sheet_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sheet_Name_Elements.ODF_Text_Sheet_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Soft_Page_Break
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Soft_Page_Break_Elements.ODF_Text_Soft_Page_Break_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Soft_Page_Break
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Soft_Page_Break_Elements.ODF_Text_Soft_Page_Break_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Sort_Key
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sort_Key_Elements.ODF_Text_Sort_Key_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Sort_Key
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Sort_Key_Elements.ODF_Text_Sort_Key_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Span
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Span_Elements.ODF_Text_Span_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Span
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Span_Elements.ODF_Text_Span_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Spreadsheet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Spreadsheet_Elements.ODF_Office_Spreadsheet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Spreadsheet
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Spreadsheet_Elements.ODF_Office_Spreadsheet_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Styles_Elements.ODF_Office_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Styles
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Styles_Elements.ODF_Office_Styles_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Subject
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Subject_Elements.ODF_Text_Subject_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Subject
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Subject_Elements.ODF_Text_Subject_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Tab
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Tab_Elements.ODF_Text_Tab_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Tab
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Tab_Elements.ODF_Text_Tab_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Count_Elements.ODF_Text_Table_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Count_Elements.ODF_Text_Table_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Formula
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Formula_Elements.ODF_Text_Table_Formula_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Formula
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Formula_Elements.ODF_Text_Table_Formula_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Elements.ODF_Text_Table_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Elements.ODF_Text_Table_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Entry_Template_Elements.ODF_Text_Table_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Entry_Template_Elements.ODF_Text_Table_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Source_Elements.ODF_Text_Table_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Index_Source_Elements.ODF_Text_Table_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Of_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Elements.ODF_Text_Table_Of_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Of_Content
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Elements.ODF_Text_Table_Of_Content_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Of_Content_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Entry_Template_Elements.ODF_Text_Table_Of_Content_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Of_Content_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Entry_Template_Elements.ODF_Text_Table_Of_Content_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Table_Of_Content_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Source_Elements.ODF_Text_Table_Of_Content_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Table_Of_Content_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Table_Of_Content_Source_Elements.ODF_Text_Table_Of_Content_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Template_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Template_Name_Elements.ODF_Text_Template_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Template_Name
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Template_Name_Elements.ODF_Text_Template_Name_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Office_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Text_Elements.ODF_Office_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Office_Text
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Office_Text_Elements.ODF_Office_Text_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Text_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Text_Input_Elements.ODF_Text_Text_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Text_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Text_Input_Elements.ODF_Text_Text_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Time_Elements.ODF_Text_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Time
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Time_Elements.ODF_Text_Time_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Title_Elements.ODF_Text_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Title
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Title_Elements.ODF_Text_Title_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Toc_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_Elements.ODF_Text_Toc_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Toc_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_Elements.ODF_Text_Toc_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Toc_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_End_Elements.ODF_Text_Toc_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Toc_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_End_Elements.ODF_Text_Toc_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Toc_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_Start_Elements.ODF_Text_Toc_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Toc_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Toc_Mark_Start_Elements.ODF_Text_Toc_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Tracked_Changes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Tracked_Changes_Elements.ODF_Text_Tracked_Changes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Tracked_Changes
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Tracked_Changes_Elements.ODF_Text_Tracked_Changes_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Defined
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Defined_Elements.ODF_Text_User_Defined_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Defined
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Defined_Elements.ODF_Text_User_Defined_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Field_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Decl_Elements.ODF_Text_User_Field_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Field_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Decl_Elements.ODF_Text_User_Field_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Field_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Decls_Elements.ODF_Text_User_Field_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Field_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Decls_Elements.ODF_Text_User_Field_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Field_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Get_Elements.ODF_Text_User_Field_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Field_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Get_Elements.ODF_Text_User_Field_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Field_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Input_Elements.ODF_Text_User_Field_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Field_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Field_Input_Elements.ODF_Text_User_Field_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Elements.ODF_Text_User_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Elements.ODF_Text_User_Index_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Entry_Template_Elements.ODF_Text_User_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index_Entry_Template
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Entry_Template_Elements.ODF_Text_User_Index_Entry_Template_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_Elements.ODF_Text_User_Index_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index_Mark
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_Elements.ODF_Text_User_Index_Mark_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_End_Elements.ODF_Text_User_Index_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index_Mark_End
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_End_Elements.ODF_Text_User_Index_Mark_End_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_Start_Elements.ODF_Text_User_Index_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index_Mark_Start
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Mark_Start_Elements.ODF_Text_User_Index_Mark_Start_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_User_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Source_Elements.ODF_Text_User_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_User_Index_Source
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_User_Index_Source_Elements.ODF_Text_User_Index_Source_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Variable_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Decl_Elements.ODF_Text_Variable_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Variable_Decl
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Decl_Elements.ODF_Text_Variable_Decl_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Variable_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Decls_Elements.ODF_Text_Variable_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Variable_Decls
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Decls_Elements.ODF_Text_Variable_Decls_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Variable_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Get_Elements.ODF_Text_Variable_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Variable_Get
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Get_Elements.ODF_Text_Variable_Get_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Variable_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Input_Elements.ODF_Text_Variable_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Variable_Input
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Input_Elements.ODF_Text_Variable_Input_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Variable_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Set_Elements.ODF_Text_Variable_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Variable_Set
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Variable_Set_Elements.ODF_Text_Variable_Set_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Enter_Text_Word_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Word_Count_Elements.ODF_Text_Word_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
not overriding procedure Leave_Text_Word_Count
(Self : in out Abstract_ODF_Visitor;
Node : not null ODF.DOM.Text_Word_Count_Elements.ODF_Text_Word_Count_Access;
Control : in out XML.DOM.Visitors.Traverse_Control) is null;
end ODF.DOM.Visitors;
|
burratoo/Acton | Ada | 3,264 | ads | ------------------------------------------------------------------------------------------
-- --
-- OAK CORE SUPPORT PACKAGE --
-- ARM ARM7TDMI --
-- --
-- OAK.CORE_SUPPORT_PACKAGE.CALL_STACK --
-- --
-- Copyright (C) 2014-2021, Patrick Bernardi --
-- --
------------------------------------------------------------------------------------------
with System.Storage_Elements;
package Oak.Core_Support_Package.Call_Stack with Pure is
-- Call_Stack_Alignment in bytes
Call_Stack_Allignment : constant := 8;
Oak_Call_Stack_Size : constant := 512;
Minimum_Call_Stack_Size : constant := 1 * 512;
Sleep_Stack_Size : constant := 72;
-- Warning! These are not a real variable. It is defined in the linker
-- script and as such does not have any data storage allocated for it.
-- Instead only a memory address is attached.
Stack_Pointer_Init : constant System.Storage_Elements.Storage_Element
with Import, Convention => Assembler,
External_Name => "__stack_space_start";
Stack_Pointer_End : constant System.Storage_Elements.Storage_Element
with Import, Convention => Assembler,
External_Name => "__stack_space_end";
--
-- SPRG0 -> Kernel stack pointer
-- SPRG4 -> Task stack pointer.
--
-- Storing Registers on the Stack during a context switch for tasks:
-- -----------------------------
-- | GPR0 | --
-- | GPR13 - 2 | |- 64 bit registers --
-- | GPR31 -> GPR14 | | |
-- | Accumulator | -- |
-- | SPEFSCR | -- | -- 284 bytes!
-- | XER | | |
-- | LR | | |
-- | CTR | |- 32 bit registers --
-- | CR | |
-- | USPRG0 | |
-- | Instruction Pointer | <---- Bottom of stack
-- -----------------------------
-- Storing Registers on the Stack during a context switch for the kernel:
-- -----------------------------
-- | GPR0 | --
-- | GPR13 - 2 | |
-- | GPR31 -> GPR14 | |
-- | XER | | 37 x 32 bit registers -- 144 bytes!
-- | LR | |
-- | CTR | |
-- | CR | |
-- | USPRG0 | |
-- | Instruction Pointer | <---- Bottom of stack
-- -----------------------------
end Oak.Core_Support_Package.Call_Stack;
|
vpodzime/ada-util | Ada | 2,103 | adb | -----------------------------------------------------------------------
-- launch -- Launch an external process redirecting the input and output
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Processes;
with Ada.Text_IO;
with Ada.Strings.Unbounded;
with Util.Streams.Pipes;
with Util.Streams.Buffered;
with Util.Streams.Texts;
procedure Launch is
use Ada.Strings.Unbounded;
Pipe : aliased Util.Streams.Pipes.Pipe_Stream;
Buffer : Util.Streams.Buffered.Buffered_Stream;
Content : Unbounded_String;
Print : Util.Streams.Texts.Print_Stream;
begin
-- Write on the process input stream
Pipe.Open ("nslookup", Util.Processes.READ_WRITE);
Buffer.Initialize (null, Pipe'Unchecked_Access, 1024);
Print.Initialize (Pipe'Unchecked_Access);
-- Write on the 'nslookup' input pipe a list of domains to resolve.
Print.Write ("www.google.com" & ASCII.LF);
Print.Write ("set type=NS" & ASCII.LF);
Print.Write ("www.google.com" & ASCII.LF);
Print.Write ("set type=MX" & ASCII.LF);
Print.Write ("www.google.com" & ASCII.LF);
Print.Close;
-- Read the 'nslookup' output.
Buffer.Read (Content);
Pipe.Close;
Ada.Text_IO.Put_Line ("Result lenght: " & Integer'Image (Length (Content)));
Ada.Text_IO.Put_Line ("Exit status: " & Integer'Image (Pipe.Get_Exit_Status));
Ada.Text_IO.Put_Line (Ada.Strings.Unbounded.To_String (Content));
end Launch;
|
stcarrez/ada-util | Ada | 1,605 | ads | -----------------------------------------------------------------------
-- util-dates-tests - Test for dates
-- Copyright (C) 2018, 2020, 2022 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Tests;
package Util.Dates.Tests is
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite);
type Test is new Util.Tests.Test with null record;
-- Test converting a date in ISO8601.
procedure Test_ISO8601_Image (T : in out Test);
-- Test converting a string in ISO8601 into a date.
procedure Test_ISO8601_Value (T : in out Test);
-- Test value convertion errors.
procedure Test_ISO8601_Error (T : in out Test);
-- Test Is_Same_Day operation.
procedure Test_Is_Same_Day (T : in out Test);
-- Test Get_Day_Count operation.
procedure Test_Get_Day_Count (T : in out Test);
-- Test the Simple_Format option.
procedure Test_Simple_Format (T : in out Test);
end Util.Dates.Tests;
|
charlie5/lace | Ada | 144 | ads | with
any_Math.any_Arithmetic;
package float_Math.Arithmetic is new float_Math.any_Arithmetic;
pragma Pure (float_Math.Arithmetic);
|
zhmu/ananas | Ada | 113 | adb | -- { dg-do compile }
package body Compile_Time_Error1 is
procedure Dummy is null;
end Compile_Time_Error1;
|
AdaCore/gpr | Ada | 70 | ads | generic
package My_Package.Sub_Package is
end My_Package.Sub_Package; |
zhmu/ananas | Ada | 108 | ads | package Constant2_Pkg2 is
function F1 return Boolean;
function F2 return Boolean;
end Constant2_Pkg2;
|
io7m/coreland-lua-ada-load | Ada | 487 | ads | with Ada.Strings.Unbounded;
with Lua;
with Lua.Load;
package Test is
package UB_Strings renames Ada.Strings.Unbounded;
package Load renames Lua.Load;
Lua_Err : Lua.Error_t;
Lua_Context : Lua.State_t;
Lua_Err_String : UB_Strings.Unbounded_String;
Loader : aliased Lua.Load.State_t;
Loader_Access : constant Lua.Load.State_Access_t := Loader'Access;
use type Lua.State_t;
use type Lua.Error_t;
procedure Init (File : in String);
end Test;
|
mokafiht/u2f_key_SDCC | Ada | 21,202 | adb | M:eeprom
S:Leeprom.aligned_alloc$size$1$13({2}SI:U),B,1,-4
S:Leeprom.aligned_alloc$alignment$1$13({2}SI:U),B,1,1
F:G$eeprom_init$0$0({2}DF,SV:S),Z,0,1,0,0,0
S:Leeprom.eeprom_init$secbyte$1$108({1}SC:U),B,1,1
F:G$eeprom_read$0$0({2}DF,SV:S),Z,0,0,0,0,0
S:Leeprom.eeprom_read$buf$1$110({3}DG,SC:U),B,1,-5
S:Leeprom.eeprom_read$len$1$110({1}SC:U),B,1,-6
S:Leeprom.eeprom_read$addr$1$110({2}SI:U),R,0,0,[r6,r7]
S:Leeprom.eeprom_read$eepaddr$1$111({2}DC,SC:U),R,0,0,[]
S:Leeprom.eeprom_read$old_int$1$111({1}SB0$1:U),R,0,0,[b0]
S:Leeprom.eeprom_read$sloc0$1$0({1}SC:U),B,1,1
F:G$_eeprom_write$0$0({2}DF,SV:S),Z,0,0,0,0,0
S:Leeprom._eeprom_write$buf$1$113({3}DG,SC:U),B,1,-5
S:Leeprom._eeprom_write$len$1$113({1}SC:U),B,1,-6
S:Leeprom._eeprom_write$flags$1$113({1}SC:U),B,1,-7
S:Leeprom._eeprom_write$addr$1$113({2}SI:U),R,0,0,[r6,r7]
S:Leeprom._eeprom_write$eepaddr$1$114({2}DX,SC:U),R,0,0,[]
S:Leeprom._eeprom_write$old_int$1$114({1}SB0$1:U),R,0,0,[b0]
S:Leeprom._eeprom_write$sloc0$1$0({1}SC:U),B,1,1
S:Leeprom._eeprom_write$sloc1$1$0({1}SC:U),B,1,2
T:Feeprom$SI_UU32[({0}S:S$u32$0$0({4}SL:U),Z,0,0)({0}S:S$s32$0$0({4}SL:S),Z,0,0)({0}S:S$uu16$0$0({4}DA2d,STSI_UU16:S),Z,0,0)({0}S:S$u16$0$0({4}DA2d,SI:U),Z,0,0)({0}S:S$s16$0$0({4}DA2d,SI:S),Z,0,0)({0}S:S$u8$0$0({4}DA4d,SC:U),Z,0,0)({0}S:S$s8$0$0({4}DA4d,SC:S),Z,0,0)]
T:Feeprom$SI_UU16[({0}S:S$u16$0$0({2}SI:U),Z,0,0)({0}S:S$s16$0$0({2}SI:S),Z,0,0)({0}S:S$u8$0$0({2}DA2d,SC:U),Z,0,0)({0}S:S$s8$0$0({2}DA2d,SC:S),Z,0,0)]
T:Feeprom$u2f_hid_nonce[({0}S:S$nonce$0$0({8}DA8d,SC:U),Z,0,0)]
T:Feeprom$config_msg[({0}S:S$cmd$0$0({1}SC:U),Z,0,0)({1}S:S$buf$0$0({63}DA63d,SC:U),Z,0,0)]
T:Feeprom$SI_GEN_PTR[({0}S:S$u8$0$0({3}DA3d,SC:U),Z,0,0)({0}S:S$gptr$0$0({3}ST__00000000:S),Z,0,0)]
T:Feeprom$__00000000[({0}S:S$memtype$0$0({1}SC:U),Z,0,0)({1}S:S$address$0$0({2}STSI_UU16:S),Z,0,0)]
T:Feeprom$__00000010[({0}S:S$bits$0$0({1}ST__00000011:S),Z,0,0)({0}S:S$c$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000001[({0}S:S$bmRequestType$0$0({1}ST__00000002:S),Z,0,0)({1}S:S$bRequest$0$0({1}SC:U),Z,0,0)({2}S:S$wValue$0$0({2}SI:U),Z,0,0)({4}S:S$wIndex$0$0({2}SI:U),Z,0,0)({6}S:S$wLength$0$0({2}SI:U),Z,0,0)]
T:Feeprom$__00000011[({0}S:S$callback$0$0({1}SB0$1:U),Z,0,0)({0}S:S$outPacketPending$0$0({1}SB1$1:U),Z,0,0)({0}S:S$inPacketPending$0$0({1}SB2$1:U),Z,0,0)({0}S:S$waitForRead$0$0({1}SB3$1:U),Z,0,0)]
T:Feeprom$__00000002[({0}S:S$Recipient$0$0({1}SB0$5:U),Z,0,0)({0}S:S$Type$0$0({1}SB5$2:U),Z,0,0)({0}S:S$Direction$0$0({1}SB7$1:U),Z,0,0)]
T:Feeprom$__00000012[({0}S:S$configurationValue$0$0({1}SC:U),Z,0,0)({1}S:S$numberOfStrings$0$0({1}SC:U),Z,0,0)({2}S:S$state$0$0({1}SC:U),Z,0,0)({3}S:S$savedState$0$0({1}SC:U),Z,0,0)({4}S:S$setup$0$0({8}ST__00000001:S),Z,0,0)({12}S:S$ep0String$0$0({1}ST__00000013:S),Z,0,0)({13}S:S$ep0$0$0({7}ST__00000009:S),Z,0,0)({20}S:S$ep1in$0$0({7}ST__00000009:S),Z,0,0)({27}S:S$ep1out$0$0({7}ST__00000009:S),Z,0,0)({34}S:S$deviceDescriptor$0$0({3}DG,ST__00000004:S),Z,0,0)({37}S:S$configDescriptor$0$0({3}DG,ST__00000005:S),Z,0,0)({40}S:S$stringDescriptors$0$0({3}DG,DG,DG,SC:U),Z,0,0)]
T:Feeprom$__00000003[({0}S:S$setup$0$0({8}ST__00000001:S),Z,0,0)({0}S:S$c$0$0({8}DA8d,SC:U),Z,0,0)({0}S:S$i$0$0({8}DA4d,SI:U),Z,0,0)]
T:Feeprom$__00000013[({0}S:S$encoding$0$0({1}ST__00000014:S),Z,0,0)({0}S:S$c$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000004[({0}S:S$bLength$0$0({1}SC:U),Z,0,0)({1}S:S$bDescriptorType$0$0({1}SC:U),Z,0,0)({2}S:S$bcdUSB$0$0({2}SI:U),Z,0,0)({4}S:S$bDeviceClass$0$0({1}SC:U),Z,0,0)({5}S:S$bDeviceSubClass$0$0({1}SC:U),Z,0,0)({6}S:S$bDeviceProtocol$0$0({1}SC:U),Z,0,0)({7}S:S$bMaxPacketSize0$0$0({1}SC:U),Z,0,0)({8}S:S$idVendor$0$0({2}SI:U),Z,0,0)({10}S:S$idProduct$0$0({2}SI:U),Z,0,0)({12}S:S$bcdDevice$0$0({2}SI:U),Z,0,0)({14}S:S$iManufacturer$0$0({1}SC:U),Z,0,0)({15}S:S$iProduct$0$0({1}SC:U),Z,0,0)({16}S:S$iSerialNumber$0$0({1}SC:U),Z,0,0)({17}S:S$bNumConfigurations$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000014[({0}S:S$type$0$0({1}SB0$7:U),Z,0,0)({0}S:S$init$0$0({1}SB7$1:U),Z,0,0)]
T:Feeprom$__00000005[({0}S:S$bLength$0$0({1}SC:U),Z,0,0)({1}S:S$bDescriptorType$0$0({1}SC:U),Z,0,0)({2}S:S$wTotalLength$0$0({2}SI:U),Z,0,0)({4}S:S$bNumInterfaces$0$0({1}SC:U),Z,0,0)({5}S:S$bConfigurationValue$0$0({1}SC:U),Z,0,0)({6}S:S$iConfiguration$0$0({1}SC:U),Z,0,0)({7}S:S$bmAttributes$0$0({1}SC:U),Z,0,0)({8}S:S$bMaxPower$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000015[({0}S:S$init$0$0({60}ST__00000016:S),Z,0,0)({0}S:S$cont$0$0({60}ST__00000017:S),Z,0,0)]
T:Feeprom$__00000006[({0}S:S$bLength$0$0({1}SC:U),Z,0,0)({1}S:S$bDescriptorType$0$0({1}SC:U),Z,0,0)({2}S:S$bInterfaceNumber$0$0({1}SC:U),Z,0,0)({3}S:S$bAlternateSetting$0$0({1}SC:U),Z,0,0)({4}S:S$bNumEndpoints$0$0({1}SC:U),Z,0,0)({5}S:S$bInterfaceClass$0$0({1}SC:U),Z,0,0)({6}S:S$bInterfaceSubClass$0$0({1}SC:U),Z,0,0)({7}S:S$bInterfaceProtocol$0$0({1}SC:U),Z,0,0)({8}S:S$iInterface$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000016[({0}S:S$cmd$0$0({1}SC:U),Z,0,0)({1}S:S$bcnth$0$0({1}SC:U),Z,0,0)({2}S:S$bcntl$0$0({1}SC:U),Z,0,0)({3}S:S$payload$0$0({57}DA57d,SC:U),Z,0,0)]
T:Feeprom$__00000007[({0}S:S$bLength$0$0({1}SC:U),Z,0,0)({1}S:S$bDescriptorType$0$0({1}SC:U),Z,0,0)({2}S:S$bEndpointAddress$0$0({1}SC:U),Z,0,0)({3}S:S$bmAttributes$0$0({1}SC:U),Z,0,0)({4}S:S$wMaxPacketSize$0$0({2}SI:U),Z,0,0)({6}S:S$bInterval$0$0({1}SC:U),Z,0,0)]
T:Feeprom$__00000017[({0}S:S$seq$0$0({1}SC:U),Z,0,0)({1}S:S$payload$0$0({59}DA59d,SC:U),Z,0,0)]
T:Feeprom$__00000008[({0}S:S$deviceDescriptor$0$0({3}DG,ST__00000004:S),Z,0,0)({3}S:S$configDescriptor$0$0({3}DG,SC:U),Z,0,0)({6}S:S$stringDescriptors$0$0({3}DG,DG,DG,SC:U),Z,0,0)({9}S:S$numberOfStrings$0$0({1}SC:U),Z,0,0)]
T:Feeprom$u2f_hid_msg[({0}S:S$cid$0$0({4}SL:U),Z,0,0)({4}S:S$pkt$0$0({60}ST__00000015:S),Z,0,0)]
T:Feeprom$__00000009[({0}S:S$buf$0$0({3}DG,SC:U),Z,0,0)({3}S:S$remaining$0$0({2}SI:U),Z,0,0)({5}S:S$state$0$0({1}SC:U),Z,0,0)({6}S:S$misc$0$0({1}ST__00000010:S),Z,0,0)]
T:Feeprom$APP_DATA[({0}S:S$tmp$0$0({70}DA70d,SC:U),Z,0,0)]
T:Feeprom$u2f_hid_init_response[({0}S:S$cid$0$0({4}SL:U),Z,0,0)({4}S:S$version_id$0$0({1}SC:U),Z,0,0)({5}S:S$version_major$0$0({1}SC:U),Z,0,0)({6}S:S$version_minor$0$0({1}SC:U),Z,0,0)({7}S:S$version_build$0$0({1}SC:U),Z,0,0)({8}S:S$cflags$0$0({1}SC:U),Z,0,0)]
S:G$appdata$0$0({70}STAPP_DATA:S),E,0,0
S:G$hidmsgbuf$0$0({64}DA64d,SC:U),F,0,0
S:G$ACC$0$0({1}SC:U),I,0,0
S:G$ADC0AC$0$0({1}SC:U),I,0,0
S:G$ADC0CF$0$0({1}SC:U),I,0,0
S:G$ADC0CN0$0$0({1}SC:U),I,0,0
S:G$ADC0CN1$0$0({1}SC:U),I,0,0
S:G$ADC0GTH$0$0({1}SC:U),I,0,0
S:G$ADC0GTL$0$0({1}SC:U),I,0,0
S:G$ADC0H$0$0({1}SC:U),I,0,0
S:G$ADC0L$0$0({1}SC:U),I,0,0
S:G$ADC0LTH$0$0({1}SC:U),I,0,0
S:G$ADC0LTL$0$0({1}SC:U),I,0,0
S:G$ADC0MX$0$0({1}SC:U),I,0,0
S:G$ADC0PWR$0$0({1}SC:U),I,0,0
S:G$ADC0TK$0$0({1}SC:U),I,0,0
S:G$B$0$0({1}SC:U),I,0,0
S:G$CKCON0$0$0({1}SC:U),I,0,0
S:G$CKCON1$0$0({1}SC:U),I,0,0
S:G$CLKSEL$0$0({1}SC:U),I,0,0
S:G$CMP0CN0$0$0({1}SC:U),I,0,0
S:G$CMP0CN1$0$0({1}SC:U),I,0,0
S:G$CMP0MD$0$0({1}SC:U),I,0,0
S:G$CMP0MX$0$0({1}SC:U),I,0,0
S:G$CMP1CN0$0$0({1}SC:U),I,0,0
S:G$CMP1CN1$0$0({1}SC:U),I,0,0
S:G$CMP1MD$0$0({1}SC:U),I,0,0
S:G$CMP1MX$0$0({1}SC:U),I,0,0
S:G$CRC0CN0$0$0({1}SC:U),I,0,0
S:G$CRC0CN1$0$0({1}SC:U),I,0,0
S:G$CRC0CNT$0$0({1}SC:U),I,0,0
S:G$CRC0DAT$0$0({1}SC:U),I,0,0
S:G$CRC0FLIP$0$0({1}SC:U),I,0,0
S:G$CRC0IN$0$0({1}SC:U),I,0,0
S:G$CRC0ST$0$0({1}SC:U),I,0,0
S:G$DERIVID$0$0({1}SC:U),I,0,0
S:G$DEVICEID$0$0({1}SC:U),I,0,0
S:G$DPH$0$0({1}SC:U),I,0,0
S:G$DPL$0$0({1}SC:U),I,0,0
S:G$EIE1$0$0({1}SC:U),I,0,0
S:G$EIE2$0$0({1}SC:U),I,0,0
S:G$EIP1$0$0({1}SC:U),I,0,0
S:G$EIP1H$0$0({1}SC:U),I,0,0
S:G$EIP2$0$0({1}SC:U),I,0,0
S:G$EIP2H$0$0({1}SC:U),I,0,0
S:G$EMI0CN$0$0({1}SC:U),I,0,0
S:G$FLKEY$0$0({1}SC:U),I,0,0
S:G$HFO0CAL$0$0({1}SC:U),I,0,0
S:G$HFO1CAL$0$0({1}SC:U),I,0,0
S:G$HFOCN$0$0({1}SC:U),I,0,0
S:G$I2C0CN0$0$0({1}SC:U),I,0,0
S:G$I2C0DIN$0$0({1}SC:U),I,0,0
S:G$I2C0DOUT$0$0({1}SC:U),I,0,0
S:G$I2C0FCN0$0$0({1}SC:U),I,0,0
S:G$I2C0FCN1$0$0({1}SC:U),I,0,0
S:G$I2C0FCT$0$0({1}SC:U),I,0,0
S:G$I2C0SLAD$0$0({1}SC:U),I,0,0
S:G$I2C0STAT$0$0({1}SC:U),I,0,0
S:G$IE$0$0({1}SC:U),I,0,0
S:G$IP$0$0({1}SC:U),I,0,0
S:G$IPH$0$0({1}SC:U),I,0,0
S:G$IT01CF$0$0({1}SC:U),I,0,0
S:G$LFO0CN$0$0({1}SC:U),I,0,0
S:G$P0$0$0({1}SC:U),I,0,0
S:G$P0MASK$0$0({1}SC:U),I,0,0
S:G$P0MAT$0$0({1}SC:U),I,0,0
S:G$P0MDIN$0$0({1}SC:U),I,0,0
S:G$P0MDOUT$0$0({1}SC:U),I,0,0
S:G$P0SKIP$0$0({1}SC:U),I,0,0
S:G$P1$0$0({1}SC:U),I,0,0
S:G$P1MASK$0$0({1}SC:U),I,0,0
S:G$P1MAT$0$0({1}SC:U),I,0,0
S:G$P1MDIN$0$0({1}SC:U),I,0,0
S:G$P1MDOUT$0$0({1}SC:U),I,0,0
S:G$P1SKIP$0$0({1}SC:U),I,0,0
S:G$P2$0$0({1}SC:U),I,0,0
S:G$P2MASK$0$0({1}SC:U),I,0,0
S:G$P2MAT$0$0({1}SC:U),I,0,0
S:G$P2MDIN$0$0({1}SC:U),I,0,0
S:G$P2MDOUT$0$0({1}SC:U),I,0,0
S:G$P2SKIP$0$0({1}SC:U),I,0,0
S:G$P3$0$0({1}SC:U),I,0,0
S:G$P3MDIN$0$0({1}SC:U),I,0,0
S:G$P3MDOUT$0$0({1}SC:U),I,0,0
S:G$PCA0CENT$0$0({1}SC:U),I,0,0
S:G$PCA0CLR$0$0({1}SC:U),I,0,0
S:G$PCA0CN0$0$0({1}SC:U),I,0,0
S:G$PCA0CPH0$0$0({1}SC:U),I,0,0
S:G$PCA0CPH1$0$0({1}SC:U),I,0,0
S:G$PCA0CPH2$0$0({1}SC:U),I,0,0
S:G$PCA0CPL0$0$0({1}SC:U),I,0,0
S:G$PCA0CPL1$0$0({1}SC:U),I,0,0
S:G$PCA0CPL2$0$0({1}SC:U),I,0,0
S:G$PCA0CPM0$0$0({1}SC:U),I,0,0
S:G$PCA0CPM1$0$0({1}SC:U),I,0,0
S:G$PCA0CPM2$0$0({1}SC:U),I,0,0
S:G$PCA0H$0$0({1}SC:U),I,0,0
S:G$PCA0L$0$0({1}SC:U),I,0,0
S:G$PCA0MD$0$0({1}SC:U),I,0,0
S:G$PCA0POL$0$0({1}SC:U),I,0,0
S:G$PCA0PWM$0$0({1}SC:U),I,0,0
S:G$PCON0$0$0({1}SC:U),I,0,0
S:G$PCON1$0$0({1}SC:U),I,0,0
S:G$PFE0CN$0$0({1}SC:U),I,0,0
S:G$PRTDRV$0$0({1}SC:U),I,0,0
S:G$PSCTL$0$0({1}SC:U),I,0,0
S:G$PSW$0$0({1}SC:U),I,0,0
S:G$REF0CN$0$0({1}SC:U),I,0,0
S:G$REG0CN$0$0({1}SC:U),I,0,0
S:G$REG1CN$0$0({1}SC:U),I,0,0
S:G$REVID$0$0({1}SC:U),I,0,0
S:G$RSTSRC$0$0({1}SC:U),I,0,0
S:G$SBCON1$0$0({1}SC:U),I,0,0
S:G$SBRLH1$0$0({1}SC:U),I,0,0
S:G$SBRLL1$0$0({1}SC:U),I,0,0
S:G$SBUF0$0$0({1}SC:U),I,0,0
S:G$SBUF1$0$0({1}SC:U),I,0,0
S:G$SCON0$0$0({1}SC:U),I,0,0
S:G$SCON1$0$0({1}SC:U),I,0,0
S:G$SFRPAGE$0$0({1}SC:U),I,0,0
S:G$SFRPGCN$0$0({1}SC:U),I,0,0
S:G$SFRSTACK$0$0({1}SC:U),I,0,0
S:G$SMB0ADM$0$0({1}SC:U),I,0,0
S:G$SMB0ADR$0$0({1}SC:U),I,0,0
S:G$SMB0CF$0$0({1}SC:U),I,0,0
S:G$SMB0CN0$0$0({1}SC:U),I,0,0
S:G$SMB0DAT$0$0({1}SC:U),I,0,0
S:G$SMB0FCN0$0$0({1}SC:U),I,0,0
S:G$SMB0FCN1$0$0({1}SC:U),I,0,0
S:G$SMB0FCT$0$0({1}SC:U),I,0,0
S:G$SMB0RXLN$0$0({1}SC:U),I,0,0
S:G$SMB0TC$0$0({1}SC:U),I,0,0
S:G$SMOD1$0$0({1}SC:U),I,0,0
S:G$SP$0$0({1}SC:U),I,0,0
S:G$SPI0CFG$0$0({1}SC:U),I,0,0
S:G$SPI0CKR$0$0({1}SC:U),I,0,0
S:G$SPI0CN0$0$0({1}SC:U),I,0,0
S:G$SPI0DAT$0$0({1}SC:U),I,0,0
S:G$SPI0FCN0$0$0({1}SC:U),I,0,0
S:G$SPI0FCN1$0$0({1}SC:U),I,0,0
S:G$SPI0FCT$0$0({1}SC:U),I,0,0
S:G$TCON$0$0({1}SC:U),I,0,0
S:G$TH0$0$0({1}SC:U),I,0,0
S:G$TH1$0$0({1}SC:U),I,0,0
S:G$TL0$0$0({1}SC:U),I,0,0
S:G$TL1$0$0({1}SC:U),I,0,0
S:G$TMOD$0$0({1}SC:U),I,0,0
S:G$TMR2CN0$0$0({1}SC:U),I,0,0
S:G$TMR2CN1$0$0({1}SC:U),I,0,0
S:G$TMR2H$0$0({1}SC:U),I,0,0
S:G$TMR2L$0$0({1}SC:U),I,0,0
S:G$TMR2RLH$0$0({1}SC:U),I,0,0
S:G$TMR2RLL$0$0({1}SC:U),I,0,0
S:G$TMR3CN0$0$0({1}SC:U),I,0,0
S:G$TMR3CN1$0$0({1}SC:U),I,0,0
S:G$TMR3H$0$0({1}SC:U),I,0,0
S:G$TMR3L$0$0({1}SC:U),I,0,0
S:G$TMR3RLH$0$0({1}SC:U),I,0,0
S:G$TMR3RLL$0$0({1}SC:U),I,0,0
S:G$TMR4CN0$0$0({1}SC:U),I,0,0
S:G$TMR4CN1$0$0({1}SC:U),I,0,0
S:G$TMR4H$0$0({1}SC:U),I,0,0
S:G$TMR4L$0$0({1}SC:U),I,0,0
S:G$TMR4RLH$0$0({1}SC:U),I,0,0
S:G$TMR4RLL$0$0({1}SC:U),I,0,0
S:G$UART1FCN0$0$0({1}SC:U),I,0,0
S:G$UART1FCN1$0$0({1}SC:U),I,0,0
S:G$UART1FCT$0$0({1}SC:U),I,0,0
S:G$UART1LIN$0$0({1}SC:U),I,0,0
S:G$USB0ADR$0$0({1}SC:U),I,0,0
S:G$USB0AEC$0$0({1}SC:U),I,0,0
S:G$USB0CDCF$0$0({1}SC:U),I,0,0
S:G$USB0CDCN$0$0({1}SC:U),I,0,0
S:G$USB0CDSTA$0$0({1}SC:U),I,0,0
S:G$USB0CF$0$0({1}SC:U),I,0,0
S:G$USB0DAT$0$0({1}SC:U),I,0,0
S:G$USB0XCN$0$0({1}SC:U),I,0,0
S:G$VDM0CN$0$0({1}SC:U),I,0,0
S:G$WDTCN$0$0({1}SC:U),I,0,0
S:G$XBR0$0$0({1}SC:U),I,0,0
S:G$XBR1$0$0({1}SC:U),I,0,0
S:G$XBR2$0$0({1}SC:U),I,0,0
S:G$ADC0GT$0$0({2}SI:U),I,0,0
S:G$ADC0$0$0({2}SI:U),I,0,0
S:G$ADC0LT$0$0({2}SI:U),I,0,0
S:G$DP$0$0({2}SI:U),I,0,0
S:G$PCA0CP0$0$0({2}SI:U),I,0,0
S:G$PCA0CP1$0$0({2}SI:U),I,0,0
S:G$PCA0CP2$0$0({2}SI:U),I,0,0
S:G$PCA0$0$0({2}SI:U),I,0,0
S:G$SBRL1$0$0({2}SI:U),I,0,0
S:G$TMR2$0$0({2}SI:U),I,0,0
S:G$TMR2RL$0$0({2}SI:U),I,0,0
S:G$TMR3$0$0({2}SI:U),I,0,0
S:G$TMR3RL$0$0({2}SI:U),I,0,0
S:G$TMR4$0$0({2}SI:U),I,0,0
S:G$TMR4RL$0$0({2}SI:U),I,0,0
S:G$_XPAGE$0$0({1}SC:U),I,0,0
S:G$ACC_ACC0$0$0({1}SX:U),J,0,0
S:G$ACC_ACC1$0$0({1}SX:U),J,0,0
S:G$ACC_ACC2$0$0({1}SX:U),J,0,0
S:G$ACC_ACC3$0$0({1}SX:U),J,0,0
S:G$ACC_ACC4$0$0({1}SX:U),J,0,0
S:G$ACC_ACC5$0$0({1}SX:U),J,0,0
S:G$ACC_ACC6$0$0({1}SX:U),J,0,0
S:G$ACC_ACC7$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADCM0$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADCM1$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADCM2$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADWINT$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADBUSY$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADINT$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADBMEN$0$0({1}SX:U),J,0,0
S:G$ADC0CN0_ADEN$0$0({1}SX:U),J,0,0
S:G$B_B0$0$0({1}SX:U),J,0,0
S:G$B_B1$0$0({1}SX:U),J,0,0
S:G$B_B2$0$0({1}SX:U),J,0,0
S:G$B_B3$0$0({1}SX:U),J,0,0
S:G$B_B4$0$0({1}SX:U),J,0,0
S:G$B_B5$0$0({1}SX:U),J,0,0
S:G$B_B6$0$0({1}SX:U),J,0,0
S:G$B_B7$0$0({1}SX:U),J,0,0
S:G$IE_EX0$0$0({1}SX:U),J,0,0
S:G$IE_ET0$0$0({1}SX:U),J,0,0
S:G$IE_EX1$0$0({1}SX:U),J,0,0
S:G$IE_ET1$0$0({1}SX:U),J,0,0
S:G$IE_ES0$0$0({1}SX:U),J,0,0
S:G$IE_ET2$0$0({1}SX:U),J,0,0
S:G$IE_ESPI0$0$0({1}SX:U),J,0,0
S:G$IE_EA$0$0({1}SX:U),J,0,0
S:G$IP_PX0$0$0({1}SX:U),J,0,0
S:G$IP_PT0$0$0({1}SX:U),J,0,0
S:G$IP_PX1$0$0({1}SX:U),J,0,0
S:G$IP_PT1$0$0({1}SX:U),J,0,0
S:G$IP_PS0$0$0({1}SX:U),J,0,0
S:G$IP_PT2$0$0({1}SX:U),J,0,0
S:G$IP_PSPI0$0$0({1}SX:U),J,0,0
S:G$P0_B0$0$0({1}SX:U),J,0,0
S:G$P0_B1$0$0({1}SX:U),J,0,0
S:G$P0_B2$0$0({1}SX:U),J,0,0
S:G$P0_B3$0$0({1}SX:U),J,0,0
S:G$P0_B4$0$0({1}SX:U),J,0,0
S:G$P0_B5$0$0({1}SX:U),J,0,0
S:G$P0_B6$0$0({1}SX:U),J,0,0
S:G$P0_B7$0$0({1}SX:U),J,0,0
S:G$P1_B0$0$0({1}SX:U),J,0,0
S:G$P1_B1$0$0({1}SX:U),J,0,0
S:G$P1_B2$0$0({1}SX:U),J,0,0
S:G$P1_B3$0$0({1}SX:U),J,0,0
S:G$P1_B4$0$0({1}SX:U),J,0,0
S:G$P1_B5$0$0({1}SX:U),J,0,0
S:G$P1_B6$0$0({1}SX:U),J,0,0
S:G$P1_B7$0$0({1}SX:U),J,0,0
S:G$P2_B0$0$0({1}SX:U),J,0,0
S:G$P2_B1$0$0({1}SX:U),J,0,0
S:G$P2_B2$0$0({1}SX:U),J,0,0
S:G$P2_B3$0$0({1}SX:U),J,0,0
S:G$P3_B0$0$0({1}SX:U),J,0,0
S:G$P3_B1$0$0({1}SX:U),J,0,0
S:G$PCA0CN0_CCF0$0$0({1}SX:U),J,0,0
S:G$PCA0CN0_CCF1$0$0({1}SX:U),J,0,0
S:G$PCA0CN0_CCF2$0$0({1}SX:U),J,0,0
S:G$PCA0CN0_CR$0$0({1}SX:U),J,0,0
S:G$PCA0CN0_CF$0$0({1}SX:U),J,0,0
S:G$PSW_PARITY$0$0({1}SX:U),J,0,0
S:G$PSW_F1$0$0({1}SX:U),J,0,0
S:G$PSW_OV$0$0({1}SX:U),J,0,0
S:G$PSW_RS0$0$0({1}SX:U),J,0,0
S:G$PSW_RS1$0$0({1}SX:U),J,0,0
S:G$PSW_F0$0$0({1}SX:U),J,0,0
S:G$PSW_AC$0$0({1}SX:U),J,0,0
S:G$PSW_CY$0$0({1}SX:U),J,0,0
S:G$SCON0_RI$0$0({1}SX:U),J,0,0
S:G$SCON0_TI$0$0({1}SX:U),J,0,0
S:G$SCON0_RB8$0$0({1}SX:U),J,0,0
S:G$SCON0_TB8$0$0({1}SX:U),J,0,0
S:G$SCON0_REN$0$0({1}SX:U),J,0,0
S:G$SCON0_MCE$0$0({1}SX:U),J,0,0
S:G$SCON0_SMODE$0$0({1}SX:U),J,0,0
S:G$SCON1_RI$0$0({1}SX:U),J,0,0
S:G$SCON1_TI$0$0({1}SX:U),J,0,0
S:G$SCON1_RBX$0$0({1}SX:U),J,0,0
S:G$SCON1_TBX$0$0({1}SX:U),J,0,0
S:G$SCON1_REN$0$0({1}SX:U),J,0,0
S:G$SCON1_PERR$0$0({1}SX:U),J,0,0
S:G$SCON1_OVR$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_SI$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_ACK$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_ARBLOST$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_ACKRQ$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_STO$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_STA$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_TXMODE$0$0({1}SX:U),J,0,0
S:G$SMB0CN0_MASTER$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_SPIEN$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_TXNF$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_NSSMD0$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_NSSMD1$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_RXOVRN$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_MODF$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_WCOL$0$0({1}SX:U),J,0,0
S:G$SPI0CN0_SPIF$0$0({1}SX:U),J,0,0
S:G$TCON_IT0$0$0({1}SX:U),J,0,0
S:G$TCON_IE0$0$0({1}SX:U),J,0,0
S:G$TCON_IT1$0$0({1}SX:U),J,0,0
S:G$TCON_IE1$0$0({1}SX:U),J,0,0
S:G$TCON_TR0$0$0({1}SX:U),J,0,0
S:G$TCON_TF0$0$0({1}SX:U),J,0,0
S:G$TCON_TR1$0$0({1}SX:U),J,0,0
S:G$TCON_TF1$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_T2XCLK0$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_T2XCLK1$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_TR2$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_T2SPLIT$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_TF2CEN$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_TF2LEN$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_TF2L$0$0({1}SX:U),J,0,0
S:G$TMR2CN0_TF2H$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_T4XCLK0$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_T4XCLK1$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_TR4$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_T4SPLIT$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_TF4CEN$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_TF4LEN$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_TF4L$0$0({1}SX:U),J,0,0
S:G$TMR4CN0_TF4H$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_RIE$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_RXTO0$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_RXTO1$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_RFRQ$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_TIE$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_TXHOLD$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_TXNF$0$0({1}SX:U),J,0,0
S:G$UART1FCN1_TFRQ$0$0({1}SX:U),J,0,0
S:G$atof$0$0({2}DF,SF:S),C,0,0
S:G$atoi$0$0({2}DF,SI:S),C,0,0
S:G$atol$0$0({2}DF,SL:S),C,0,0
S:G$_uitoa$0$0({2}DF,SV:S),C,0,0
S:G$_itoa$0$0({2}DF,SV:S),C,0,0
S:G$_ultoa$0$0({2}DF,SV:S),C,0,0
S:G$_ltoa$0$0({2}DF,SV:S),C,0,0
S:G$rand$0$0({2}DF,SI:S),C,0,0
S:G$srand$0$0({2}DF,SV:S),C,0,0
S:G$calloc$0$0({2}DF,DX,SV:S),C,0,0
S:G$malloc$0$0({2}DF,DX,SV:S),C,0,0
S:G$realloc$0$0({2}DF,DX,SV:S),C,0,0
S:G$aligned_alloc$0$0({2}DF,DG,SV:S),C,0,2
S:G$free$0$0({2}DF,SV:S),C,0,0
S:G$abs$0$0({2}DF,SI:S),C,0,0
S:G$labs$0$0({2}DF,SL:S),C,0,0
S:G$mblen$0$0({2}DF,SI:S),C,0,0
S:G$mbtowc$0$0({2}DF,SI:S),C,0,0
S:G$wctomb$0$0({2}DF,SI:S),C,0,0
S:G$memcpy$0$0({2}DF,DG,SV:S),C,0,0
S:G$memmove$0$0({2}DF,DG,SV:S),C,0,0
S:G$strcpy$0$0({2}DF,DG,SC:U),C,0,0
S:G$strncpy$0$0({2}DF,DG,SC:U),C,0,0
S:G$strcat$0$0({2}DF,DG,SC:U),C,0,0
S:G$strncat$0$0({2}DF,DG,SC:U),C,0,0
S:G$memcmp$0$0({2}DF,SI:S),C,0,0
S:G$strcmp$0$0({2}DF,SI:S),C,0,0
S:G$strncmp$0$0({2}DF,SI:S),C,0,0
S:G$strxfrm$0$0({2}DF,SI:U),C,0,0
S:G$memchr$0$0({2}DF,DG,SV:S),C,0,0
S:G$strchr$0$0({2}DF,DG,SC:U),C,0,0
S:G$strcspn$0$0({2}DF,SI:U),C,0,0
S:G$strpbrk$0$0({2}DF,DG,SC:U),C,0,0
S:G$strrchr$0$0({2}DF,DG,SC:U),C,0,0
S:G$strspn$0$0({2}DF,SI:U),C,0,0
S:G$strstr$0$0({2}DF,DG,SC:U),C,0,0
S:G$strtok$0$0({2}DF,DG,SC:U),C,0,0
S:G$memset$0$0({2}DF,DG,SV:S),C,0,0
S:G$strlen$0$0({2}DF,SI:U),C,0,0
S:G$USBD_SetUsbState$0$0({2}DF,SV:S),C,0,0
S:G$USBDCH9_SetupCmd$0$0({2}DF,SC:U),C,0,0
S:G$USBD_AbortAllTransfers$0$0({2}DF,SV:S),C,0,0
S:G$USBD_AbortTransfer$0$0({2}DF,SC:S),C,0,0
S:G$USBD_Connect$0$0({2}DF,SV:S),C,0,0
S:G$USBD_Disconnect$0$0({2}DF,SV:S),C,0,0
S:G$USBD_EpIsBusy$0$0({2}DF,SB0$1:U),C,0,0
S:G$USBD_GetUsbState$0$0({2}DF,SC:U),C,0,0
S:G$USBD_Init$0$0({2}DF,SC:S),C,0,0
S:G$USBD_Read$0$0({2}DF,SC:S),C,0,0
S:G$USBD_RemoteWakeup$0$0({2}DF,SC:S),C,0,0
S:G$USBD_StallEp$0$0({2}DF,SC:S),C,0,0
S:G$USBD_Stop$0$0({2}DF,SV:S),C,0,0
S:G$USBD_Suspend$0$0({2}DF,SV:S),C,0,0
S:G$USBD_UnStallEp$0$0({2}DF,SC:S),C,0,0
S:G$USBD_Write$0$0({2}DF,SC:S),C,0,0
S:G$USBD_EnterHandler$0$0({2}DF,SV:S),C,0,0
S:G$USBD_ExitHandler$0$0({2}DF,SV:S),C,0,0
S:G$USBD_ResetCb$0$0({2}DF,SV:S),C,0,0
S:G$USBD_SofCb$0$0({2}DF,SV:S),C,0,0
S:G$USBD_DeviceStateChangeCb$0$0({2}DF,SV:S),C,0,0
S:G$USBD_IsSelfPoweredCb$0$0({2}DF,SB0$1:U),C,0,0
S:G$USBD_SetupCmdCb$0$0({2}DF,SC:U),C,0,0
S:G$USBD_SetInterfaceCb$0$0({2}DF,SC:U),C,0,0
S:G$USBD_RemoteWakeupCb$0$0({2}DF,SB0$1:U),C,0,0
S:G$USBD_RemoteWakeupDelay$0$0({2}DF,SV:S),C,0,0
S:G$USBD_Run$0$0({2}DF,SV:S),C,0,0
S:G$USBD_XferCompleteCb$0$0({2}DF,SI:U),C,0,0
S:G$USB_ReadFIFO$0$0({2}DF,SV:S),C,0,0
S:G$USB_WriteFIFO$0$0({2}DF,SV:S),C,0,0
S:G$USB_GetIntsEnabled$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_IsRegulatorEnabled$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_IsPrefetchEnabled$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_SuspendOscillator$0$0({2}DF,SV:S),C,0,0
S:G$USB_SetIndex$0$0({2}DF,SV:S),C,0,0
S:G$USB_GetCommonInts$0$0({2}DF,SC:U),C,0,0
S:G$USB_GetInInts$0$0({2}DF,SC:U),C,0,0
S:G$USB_GetOutInts$0$0({2}DF,SC:U),C,0,0
S:G$USB_GetIndex$0$0({2}DF,SC:U),C,0,0
S:G$USB_IsSuspended$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_GetSetupEnd$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_Ep0SentStall$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_Ep0InPacketReady$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_Ep0OutPacketReady$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_Ep0GetCount$0$0({2}DF,SC:U),C,0,0
S:G$USB_EpnInGetSentStall$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_EpnGetInPacketReady$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_EpnOutGetSentStall$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_EpnGetOutPacketReady$0$0({2}DF,SB0$1:U),C,0,0
S:G$USB_EpOutGetCount$0$0({2}DF,SI:U),C,0,0
S:G$USB_GetSofNumber$0$0({2}DF,SI:U),C,0,0
S:G$USB_AbortInEp$0$0({2}DF,SV:S),C,0,0
S:G$USB_AbortOutEp$0$0({2}DF,SV:S),C,0,0
S:G$USB_ActivateEp$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_init$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_set_len$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_writeback$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_flush$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_request$0$0({2}DF,SV:S),C,0,0
S:G$u2f_hid_check_timeouts$0$0({2}DF,SV:S),C,0,0
S:G$u2f_print_hid_check_timeouts$0$0({2}DF,SV:S),C,0,0
S:G$set_app_u2f_hid_msg$0$0({2}DF,SV:S),C,0,0
S:G$set_app_error$0$0({2}DF,SV:S),C,0,0
S:G$get_app_error$0$0({2}DF,SC:U),C,0,0
S:G$get_app_state$0$0({2}DF,SC:U),C,0,0
S:G$set_app_state$0$0({2}DF,SV:S),C,0,0
S:G$rgb$0$0({2}DF,SV:S),C,0,0
S:G$app_wink$0$0({2}DF,SV:S),C,0,0
S:G$u2f_init$0$0({2}DF,SV:S),C,0,0
S:G$u2f_wipe_keys$0$0({2}DF,SC:S),C,0,0
S:G$ReportDescriptor0$0$0({34}DA34d,SC:U),D,0,0
S:G$deviceDesc$0$0({0}DA0d,SC:U),D,0,0
S:G$configDesc$0$0({0}DA0d,SC:U),D,0,0
S:G$initstruct$0$0({10}ST__00000008:S),D,0,0
S:G$WMASK$0$0({0}DA0d,SC:U),D,0,0
S:G$RMASK$0$0({0}DA0d,SC:U),D,0,0
|
twdroeger/ada-awa | Ada | 6,922 | adb | -----------------------------------------------------------------------
-- awa-storages-services-tests -- Unit tests for storage service
-- Copyright (C) 2012, 2016, 2019 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Streams;
with Ada.Strings.Unbounded;
with Util.Test_Caller;
with ADO;
with ADO.Objects;
with Security.Contexts;
with AWA.Services.Contexts;
with AWA.Storages.Modules;
with AWA.Storages.Beans.Factories;
with AWA.Tests.Helpers.Users;
package body AWA.Storages.Services.Tests is
use ADO;
package Caller is new Util.Test_Caller (Test, "Storages.Services");
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test AWA.Storages.Services.Save (DATABASE)",
Test_Create_Storage'Access);
Caller.Add_Test (Suite, "Test AWA.Storages.Services.Save (FILE)",
Test_File_Create_Storage'Access);
Caller.Add_Test (Suite, "Test AWA.Storages.Services.Delete",
Test_Delete_Storage'Access);
Caller.Add_Test (Suite, "Test AWA.Storages.Services.Save_Folder, Folder_Bean",
Test_Create_Folder'Access);
Caller.Add_Test (Suite, "Test AWA.Storages.Services.Get_Local_File",
Test_Get_Local_File'Access);
end Add_Tests;
-- ------------------------------
-- Save something in a storage element and keep track of the store id in the test <b>Id</b>.
-- ------------------------------
procedure Save (T : in out Test) is
Store : AWA.Storages.Models.Storage_Ref;
begin
T.Manager := AWA.Storages.Modules.Get_Storage_Manager;
T.Assert (T.Manager /= null, "Null storage manager");
Store.Set_Mime_Type ("text/plain");
Store.Set_Name ("Makefile");
Store.Set_File_Size (1000);
T.Manager.Save (Into => Store,
Path => "Makefile",
Storage => T.Kind);
T.Assert (not Store.Is_Null, "Storage object should not be null");
T.Id := Store.Get_Id;
T.Assert (T.Id > 0, "Invalid storage identifier");
end Save;
-- ------------------------------
-- Load the storage element refered to by the test <b>Id</b>.
-- ------------------------------
procedure Load (T : in out Test) is
use type Ada.Streams.Stream_Element_Offset;
Name : Ada.Strings.Unbounded.Unbounded_String;
Mime : Ada.Strings.Unbounded.Unbounded_String;
Date : Ada.Calendar.Time;
Data : ADO.Blob_Ref;
begin
T.Manager := AWA.Storages.Modules.Get_Storage_Manager;
T.Assert (T.Manager /= null, "Null storage manager");
T.Manager.Load (From => T.Id, Name => Name, Mime => Mime, Date => Date, Into => Data);
T.Assert (not Data.Is_Null, "Null blob returned by load");
T.Assert (Data.Value.Len > 100, "Invalid length for the blob data");
end Load;
-- ------------------------------
-- Test creation of a storage object
-- ------------------------------
procedure Test_Create_Storage (T : in out Test) is
Sec_Ctx : Security.Contexts.Security_Context;
Context : AWA.Services.Contexts.Service_Context;
begin
AWA.Tests.Helpers.Users.Login (Context, Sec_Ctx, "[email protected]");
T.Save;
T.Load;
end Test_Create_Storage;
procedure Test_File_Create_Storage (T : in out Test) is
begin
T.Kind := AWA.Storages.Models.FILE;
T.Test_Create_Storage;
end Test_File_Create_Storage;
-- ------------------------------
-- Test creation of a storage object and local file access after its creation.
-- ------------------------------
procedure Test_Get_Local_File (T : in out Test) is
Sec_Ctx : Security.Contexts.Security_Context;
Context : AWA.Services.Contexts.Service_Context;
begin
AWA.Tests.Helpers.Users.Login (Context, Sec_Ctx, "[email protected]");
T.Save;
declare
File : AWA.Storages.Storage_File (AWA.Storages.TMP);
begin
T.Manager.Get_Local_File (From => T.Id, Into => File);
T.Assert (AWA.Storages.Get_Path (File)'Length > 0, "Invalid local file path");
end;
end Test_Get_Local_File;
-- ------------------------------
-- Test deletion of a storage object
-- ------------------------------
procedure Test_Delete_Storage (T : in out Test) is
Sec_Ctx : Security.Contexts.Security_Context;
Context : AWA.Services.Contexts.Service_Context;
Data : ADO.Blob_Ref;
Name : Ada.Strings.Unbounded.Unbounded_String;
Mime : Ada.Strings.Unbounded.Unbounded_String;
Date : Ada.Calendar.Time;
begin
AWA.Tests.Helpers.Users.Login (Context, Sec_Ctx, "[email protected]");
T.Save;
T.Manager.Delete (T.Id);
begin
T.Manager.Load (From => T.Id, Name => Name, Mime => Mime, Date => Date, Into => Data);
T.Assert (False, "No exception raised");
exception
when ADO.Objects.NOT_FOUND =>
null;
end;
end Test_Delete_Storage;
-- ------------------------------
-- Test creation of a storage folder
-- ------------------------------
procedure Test_Create_Folder (T : in out Test) is
Sec_Ctx : Security.Contexts.Security_Context;
Context : AWA.Services.Contexts.Service_Context;
Folder : AWA.Storages.Beans.Factories.Folder_Bean;
Outcome : Ada.Strings.Unbounded.Unbounded_String;
Upload : AWA.Storages.Beans.Factories.Upload_Bean;
begin
AWA.Tests.Helpers.Users.Login (Context, Sec_Ctx, "[email protected]");
Folder.Module := AWA.Storages.Modules.Get_Storage_Module;
Upload.Module := AWA.Storages.Modules.Get_Storage_Module;
Folder.Set_Name ("Test folder name");
Folder.Save (Outcome);
Util.Tests.Assert_Equals (T, "success", Outcome, "Invalid outcome returned by Save action");
Upload.Set_Value ("folderId", ADO.Objects.To_Object (Folder.Get_Key));
Util.Tests.Assert_Equals (T, "Test folder name", String '(Upload.Get_Folder.Get_Name),
"Invalid folder name");
end Test_Create_Folder;
end AWA.Storages.Services.Tests;
|
ekoeppen/MSP430_Generic_Ada_Drivers | Ada | 8,705 | ads | -- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- System Clock
package MSP430_SVD.SYSTEM_CLOCK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- XIN/XOUT Cap 0
type BCSCTL3_XCAP_Field is
(-- XIN/XOUT Cap : 0 pF
Xcap_0,
-- XIN/XOUT Cap : 6 pF
Xcap_1,
-- XIN/XOUT Cap : 10 pF
Xcap_2,
-- XIN/XOUT Cap : 12.5 pF
Xcap_3)
with Size => 2;
for BCSCTL3_XCAP_Field use
(Xcap_0 => 0,
Xcap_1 => 1,
Xcap_2 => 2,
Xcap_3 => 3);
-- Mode 0 for LFXT1 (XTS = 0)
type BCSCTL3_LFXT1S_Field is
(-- Mode 0 for LFXT1 : Normal operation
Lfxt1S_0,
-- Mode 1 for LFXT1 : Reserved
Lfxt1S_1,
-- Mode 2 for LFXT1 : VLO
Lfxt1S_2,
-- Mode 3 for LFXT1 : Digital input signal
Lfxt1S_3)
with Size => 2;
for BCSCTL3_LFXT1S_Field use
(Lfxt1S_0 => 0,
Lfxt1S_1 => 1,
Lfxt1S_2 => 2,
Lfxt1S_3 => 3);
-- Mode 0 for XT2
type BCSCTL3_XT2S_Field is
(-- Mode 0 for XT2 : 0.4 - 1 MHz
Xt2S_0,
-- Mode 1 for XT2 : 1 - 4 MHz
Xt2S_1,
-- Mode 2 for XT2 : 2 - 16 MHz
Xt2S_2,
-- Mode 3 for XT2 : Digital input signal
Xt2S_3)
with Size => 2;
for BCSCTL3_XT2S_Field use
(Xt2S_0 => 0,
Xt2S_1 => 1,
Xt2S_2 => 2,
Xt2S_3 => 3);
-- Basic Clock System Control 3
type BCSCTL3_Register is record
-- Low/high Frequency Oscillator Fault Flag
LFXT1OF : MSP430_SVD.Bit := 16#0#;
-- High frequency oscillator 2 fault flag
XT2OF : MSP430_SVD.Bit := 16#0#;
-- XIN/XOUT Cap 0
XCAP : BCSCTL3_XCAP_Field := MSP430_SVD.SYSTEM_CLOCK.Xcap_0;
-- Mode 0 for LFXT1 (XTS = 0)
LFXT1S : BCSCTL3_LFXT1S_Field := MSP430_SVD.SYSTEM_CLOCK.Lfxt1S_0;
-- Mode 0 for XT2
XT2S : BCSCTL3_XT2S_Field := MSP430_SVD.SYSTEM_CLOCK.Xt2S_0;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for BCSCTL3_Register use record
LFXT1OF at 0 range 0 .. 0;
XT2OF at 0 range 1 .. 1;
XCAP at 0 range 2 .. 3;
LFXT1S at 0 range 4 .. 5;
XT2S at 0 range 6 .. 7;
end record;
-- DCOCTL_MOD array
type DCOCTL_MOD_Field_Array is array (0 .. 4) of MSP430_SVD.Bit
with Component_Size => 1, Size => 5;
-- Type definition for DCOCTL_MOD
type DCOCTL_MOD_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- MOD as a value
Val : MSP430_SVD.UInt5;
when True =>
-- MOD as an array
Arr : DCOCTL_MOD_Field_Array;
end case;
end record
with Unchecked_Union, Size => 5;
for DCOCTL_MOD_Field use record
Val at 0 range 0 .. 4;
Arr at 0 range 0 .. 4;
end record;
-- DCOCTL_DCO array
type DCOCTL_DCO_Field_Array is array (0 .. 2) of MSP430_SVD.Bit
with Component_Size => 1, Size => 3;
-- Type definition for DCOCTL_DCO
type DCOCTL_DCO_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- DCO as a value
Val : MSP430_SVD.UInt3;
when True =>
-- DCO as an array
Arr : DCOCTL_DCO_Field_Array;
end case;
end record
with Unchecked_Union, Size => 3;
for DCOCTL_DCO_Field use record
Val at 0 range 0 .. 2;
Arr at 0 range 0 .. 2;
end record;
-- DCO Clock Frequency Control
type DCOCTL_Register is record
-- Modulation Bit 0
MOD_k : DCOCTL_MOD_Field := (As_Array => False, Val => 16#0#);
-- DCO Select Bit 0
DCO : DCOCTL_DCO_Field := (As_Array => False, Val => 16#0#);
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for DCOCTL_Register use record
MOD_k at 0 range 0 .. 4;
DCO at 0 range 5 .. 7;
end record;
-- BCSCTL1_RSEL array
type BCSCTL1_RSEL_Field_Array is array (0 .. 3) of MSP430_SVD.Bit
with Component_Size => 1, Size => 4;
-- Type definition for BCSCTL1_RSEL
type BCSCTL1_RSEL_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- RSEL as a value
Val : MSP430_SVD.UInt4;
when True =>
-- RSEL as an array
Arr : BCSCTL1_RSEL_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for BCSCTL1_RSEL_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- ACLK Divider 0
type BCSCTL1_DIVA_Field is
(-- ACLK Divider 0: /1
Diva_0,
-- ACLK Divider 1: /2
Diva_1,
-- ACLK Divider 2: /4
Diva_2,
-- ACLK Divider 3: /8
Diva_3)
with Size => 2;
for BCSCTL1_DIVA_Field use
(Diva_0 => 0,
Diva_1 => 1,
Diva_2 => 2,
Diva_3 => 3);
-- Basic Clock System Control 1
type BCSCTL1_Register is record
-- Range Select Bit 0
RSEL : BCSCTL1_RSEL_Field := (As_Array => False, Val => 16#0#);
-- ACLK Divider 0
DIVA : BCSCTL1_DIVA_Field := MSP430_SVD.SYSTEM_CLOCK.Diva_0;
-- LFXTCLK 0:Low Freq. / 1: High Freq.
XTS : MSP430_SVD.Bit := 16#0#;
-- Enable XT2CLK
XT2OFF : MSP430_SVD.Bit := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for BCSCTL1_Register use record
RSEL at 0 range 0 .. 3;
DIVA at 0 range 4 .. 5;
XTS at 0 range 6 .. 6;
XT2OFF at 0 range 7 .. 7;
end record;
-- SMCLK Divider 0
type BCSCTL2_DIVS_Field is
(-- SMCLK Divider 0: /1
Divs_0,
-- SMCLK Divider 1: /2
Divs_1,
-- SMCLK Divider 2: /4
Divs_2,
-- SMCLK Divider 3: /8
Divs_3)
with Size => 2;
for BCSCTL2_DIVS_Field use
(Divs_0 => 0,
Divs_1 => 1,
Divs_2 => 2,
Divs_3 => 3);
-- MCLK Divider 0
type BCSCTL2_DIVM_Field is
(-- MCLK Divider 0: /1
Divm_0,
-- MCLK Divider 1: /2
Divm_1,
-- MCLK Divider 2: /4
Divm_2,
-- MCLK Divider 3: /8
Divm_3)
with Size => 2;
for BCSCTL2_DIVM_Field use
(Divm_0 => 0,
Divm_1 => 1,
Divm_2 => 2,
Divm_3 => 3);
-- MCLK Source Select 0
type BCSCTL2_SELM_Field is
(-- MCLK Source Select 0: DCOCLK
Selm_0,
-- MCLK Source Select 1: DCOCLK
Selm_1,
-- MCLK Source Select 2: XT2CLK/LFXTCLK
Selm_2,
-- MCLK Source Select 3: LFXTCLK
Selm_3)
with Size => 2;
for BCSCTL2_SELM_Field use
(Selm_0 => 0,
Selm_1 => 1,
Selm_2 => 2,
Selm_3 => 3);
-- Basic Clock System Control 2
type BCSCTL2_Register is record
-- unspecified
Reserved_0_0 : MSP430_SVD.Bit := 16#0#;
-- SMCLK Divider 0
DIVS : BCSCTL2_DIVS_Field := MSP430_SVD.SYSTEM_CLOCK.Divs_0;
-- SMCLK Source Select 0:DCOCLK / 1:XT2CLK/LFXTCLK
SELS : MSP430_SVD.Bit := 16#0#;
-- MCLK Divider 0
DIVM : BCSCTL2_DIVM_Field := MSP430_SVD.SYSTEM_CLOCK.Divm_0;
-- MCLK Source Select 0
SELM : BCSCTL2_SELM_Field := MSP430_SVD.SYSTEM_CLOCK.Selm_0;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for BCSCTL2_Register use record
Reserved_0_0 at 0 range 0 .. 0;
DIVS at 0 range 1 .. 2;
SELS at 0 range 3 .. 3;
DIVM at 0 range 4 .. 5;
SELM at 0 range 6 .. 7;
end record;
-----------------
-- Peripherals --
-----------------
-- System Clock
type SYSTEM_CLOCK_Peripheral is record
-- Basic Clock System Control 3
BCSCTL3 : aliased BCSCTL3_Register;
-- DCO Clock Frequency Control
DCOCTL : aliased DCOCTL_Register;
-- Basic Clock System Control 1
BCSCTL1 : aliased BCSCTL1_Register;
-- Basic Clock System Control 2
BCSCTL2 : aliased BCSCTL2_Register;
end record
with Volatile;
for SYSTEM_CLOCK_Peripheral use record
BCSCTL3 at 16#1# range 0 .. 7;
DCOCTL at 16#4# range 0 .. 7;
BCSCTL1 at 16#5# range 0 .. 7;
BCSCTL2 at 16#6# range 0 .. 7;
end record;
-- System Clock
SYSTEM_CLOCK_Periph : aliased SYSTEM_CLOCK_Peripheral
with Import, Address => SYSTEM_CLOCK_Base;
end MSP430_SVD.SYSTEM_CLOCK;
|
onox/orka | Ada | 2,069 | ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
with Orka.Behaviors;
with Orka.Culling;
with Orka.Jobs.System;
with Orka.Resources.Loader;
with Orka.Resources.Models;
package Orka_Package_glTF is
package Job_System is new Orka.Jobs.System
(Maximum_Queued_Jobs => 16,
Maximum_Job_Graphs => 4);
package Loader is new Orka.Resources.Loader
(Job_System.Queues, Job_System.Queue'Unchecked_Access, Maximum_Requests => 10);
-----------------------------------------------------------------------------
type Create_Group_Job is new Orka.Jobs.Abstract_Job and Orka.Jobs.GPU_Job with record
Model : Orka.Resources.Models.Model_Ptr;
Culler : Orka.Culling.Culler_Ptr;
Group : access Orka.Resources.Models.Group_Access;
end record;
overriding
procedure Execute
(Object : Create_Group_Job;
Context : Orka.Jobs.Execution_Context'Class);
-----------------------------------------------------------------------------
type No_Behavior is new Orka.Resources.Models.Model_Instance with record
Position : Orka.Behaviors.Vector4 := Orka.Behaviors.Null_Behavior.Position;
end record;
overriding
function Position (Object : No_Behavior) return Orka.Behaviors.Vector4 is
(Object.Position);
overriding
procedure After_Update
(Object : in out No_Behavior;
Delta_Time : Duration;
View_Position : Orka.Behaviors.Vector4);
end Orka_Package_glTF;
|
charlie5/lace | Ada | 126 | ads | package physics.Remote
--
-- Provide a namespace for remote (DSA) physics classes.
--
is
pragma Pure;
end physics.Remote;
|
reznikmm/matreshka | Ada | 5,625 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
with AMF.Generic_Collections;
package AMF.UML.Redefinable_Template_Signatures.Collections is
pragma Preelaborate;
package UML_Redefinable_Template_Signature_Collections is
new AMF.Generic_Collections
(UML_Redefinable_Template_Signature,
UML_Redefinable_Template_Signature_Access);
type Set_Of_UML_Redefinable_Template_Signature is
new UML_Redefinable_Template_Signature_Collections.Set with null record;
Empty_Set_Of_UML_Redefinable_Template_Signature : constant Set_Of_UML_Redefinable_Template_Signature;
type Ordered_Set_Of_UML_Redefinable_Template_Signature is
new UML_Redefinable_Template_Signature_Collections.Ordered_Set with null record;
Empty_Ordered_Set_Of_UML_Redefinable_Template_Signature : constant Ordered_Set_Of_UML_Redefinable_Template_Signature;
type Bag_Of_UML_Redefinable_Template_Signature is
new UML_Redefinable_Template_Signature_Collections.Bag with null record;
Empty_Bag_Of_UML_Redefinable_Template_Signature : constant Bag_Of_UML_Redefinable_Template_Signature;
type Sequence_Of_UML_Redefinable_Template_Signature is
new UML_Redefinable_Template_Signature_Collections.Sequence with null record;
Empty_Sequence_Of_UML_Redefinable_Template_Signature : constant Sequence_Of_UML_Redefinable_Template_Signature;
private
Empty_Set_Of_UML_Redefinable_Template_Signature : constant Set_Of_UML_Redefinable_Template_Signature
:= (UML_Redefinable_Template_Signature_Collections.Set with null record);
Empty_Ordered_Set_Of_UML_Redefinable_Template_Signature : constant Ordered_Set_Of_UML_Redefinable_Template_Signature
:= (UML_Redefinable_Template_Signature_Collections.Ordered_Set with null record);
Empty_Bag_Of_UML_Redefinable_Template_Signature : constant Bag_Of_UML_Redefinable_Template_Signature
:= (UML_Redefinable_Template_Signature_Collections.Bag with null record);
Empty_Sequence_Of_UML_Redefinable_Template_Signature : constant Sequence_Of_UML_Redefinable_Template_Signature
:= (UML_Redefinable_Template_Signature_Collections.Sequence with null record);
end AMF.UML.Redefinable_Template_Signatures.Collections;
|
reznikmm/matreshka | Ada | 4,591 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Form.Multiple_Attributes is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Form_Multiple_Attribute_Node is
begin
return Self : Form_Multiple_Attribute_Node do
Matreshka.ODF_Form.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Form_Prefix);
end return;
end Create;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Form_Multiple_Attribute_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Multiple_Attribute;
end Get_Local_Name;
begin
Matreshka.DOM_Documents.Register_Attribute
(Matreshka.ODF_String_Constants.Form_URI,
Matreshka.ODF_String_Constants.Multiple_Attribute,
Form_Multiple_Attribute_Node'Tag);
end Matreshka.ODF_Form.Multiple_Attributes;
|
Componolit/libsparkcrypto | Ada | 4,318 | ads | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, Alexander Senier
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
--
-- * Neither the name of the nor the names of its contributors may be used
-- to endorse or promote products derived from this software without
-- specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------------
with LSC.Internal.AES;
-------------------------------------------------------------------------------
-- The AES-CBC cipher mode
--
-- <ul>
-- <li>
-- <a href="http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf">
-- Morris Dworkin, Recommendation for Block Cipher Modes of Operation -
-- Methods and Techniques, NIST Special Publication 800-38A, 2001 Edition
-- National Institute of Standards and Technology, U.S. Department of
-- Commerce, December 2001 </a>
-- </li>
-- </ul>
-------------------------------------------------------------------------------
package LSC.Internal.AES.CBC is
pragma Pure;
-- Encrypt @Length@ elements of the @Plaintext@ array using the AES context
-- @Context@ and the initialization vector @IV@. The result is placed into
-- @Ciphertext@.
procedure Encrypt (Context : in AES.AES_Enc_Context;
IV : in AES.Block_Type;
Plaintext : in AES.Message_Type;
Length : in AES.Message_Index;
Ciphertext : out AES.Message_Type)
with
Depends =>
(Ciphertext =>+ (Context, IV, Plaintext, Length)),
Pre =>
Ciphertext'Length >= Plaintext'Length and
Plaintext'First + Length - 1 in Plaintext'Range and
Plaintext'First + Length - 1 in AES.Message_Index and
Ciphertext'First + Length - 1 in Ciphertext'Range and
Ciphertext'First + Length - 1 in AES.Message_Index;
-- Decrypt @Length@ elements of the @Ciphertext@ array using the AES context
-- @Context@ and the initialization vector @IV@. The result is placed into
-- @Plaintext@.
procedure Decrypt (Context : in AES.AES_Dec_Context;
IV : in AES.Block_Type;
Ciphertext : in AES.Message_Type;
Length : in AES.Message_Index;
Plaintext : out AES.Message_Type)
with
Depends =>
(Plaintext =>+ (Context, IV, Ciphertext, Length)),
Pre =>
Plaintext'Length >= Ciphertext'Length and
Plaintext'First + Length - 1 in Plaintext'Range and
Plaintext'First + Length - 1 in AES.Message_Index and
Ciphertext'First + Length - 1 in Ciphertext'Range and
Ciphertext'First + Length - 1 in AES.Message_Index;
end LSC.Internal.AES.CBC;
|
AdaCore/Ada_Drivers_Library | Ada | 17,834 | ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2017, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of STMicroelectronics nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
package HAL.SDMMC is
pragma Preelaborate;
type SD_Error is
(OK,
Error,
Timeout_Error,
Command_Timeout_Error,
Unsupported_Card,
Rx_Overrun,
Tx_Underrun,
Request_Not_Applicable,
CRC_Check_Fail,
Illegal_Cmd,
Address_Out_Of_Range,
Address_Missaligned,
Block_Length_Error,
Erase_Seq_Error,
Bad_Erase_Parameter,
Write_Protection_Violation,
Lock_Unlock_Failed,
Card_ECC_Failed,
Card_ECC_Disabled,
CC_Error,
General_Unknown_Error,
Stream_Read_Underrun,
Stream_Write_Underrun,
CID_CSD_Overwrite,
WP_Erase_Skip,
Erase_Reset,
AKE_SEQ_Error,
Invalid_Voltage_Range,
Startbit_Not_Detected,
DMA_Alignment_Error);
-- Wide bus mode
type Wide_Bus_Mode is
(
-- Default bus mode: SDMMC_D0 is used.
Wide_Bus_1B,
-- 4-wide bus mode: SDMMC_D[3:0] used.
Wide_Bus_4B,
-- 8-wide bus mode: SDMMC_D[7:0] used.
Wide_Bus_8B)
with Size => 2;
for Wide_Bus_Mode use
(Wide_Bus_1B => 0,
Wide_Bus_4B => 1,
Wide_Bus_8B => 2);
type Supported_SD_Memory_Cards is
(STD_Capacity_SD_Card_V1_1,
STD_Capacity_SD_Card_v2_0,
High_Capacity_SD_Card,
Multimedia_Card,
Secure_Digital_IO_Card,
High_Speed_Multimedia_Card,
Secure_Digital_IO_Combo_Card,
High_Capacity_MMC_Card);
type Card_Specific_Data_Register is record
CSD_Structure : UInt8;
System_Specification_Version : UInt8;
Reserved : UInt8;
Data_Read_Access_Time_1 : UInt8;
Data_Read_Access_Time_2 : UInt8; -- In CLK Cycles
Max_Data_Transfer_Rate : UInt8;
Card_Command_Class : UInt16;
Max_Read_Data_Block_Length : UInt8;
Partial_Block_For_Read_Allowed : Boolean;
Write_Block_Missalignment : Boolean;
Read_Block_Missalignment : Boolean;
DSR_Implemented : Boolean;
Reserved_2 : UInt8;
Device_Size : UInt32;
Max_Read_Current_At_VDD_Min : UInt8;
Max_Read_Current_At_VDD_Max : UInt8;
Max_Write_Current_At_VDD_Min : UInt8;
Max_Write_Current_At_VDD_Max : UInt8;
Device_Size_Multiplier : UInt8;
Erase_Group_Size : UInt8;
Erase_Group_Size_Multiplier : UInt8;
Write_Protect_Group_Size : UInt8;
Write_Protect_Group_Enable : Boolean;
Manufacturer_Default_ECC : UInt8;
Write_Speed_Factor : UInt8;
Max_Write_Data_Block_Length : UInt8;
Partial_Blocks_For_Write_Allowed : Boolean;
Reserved_3 : UInt8;
Content_Protection_Application : Boolean;
File_Format_Group : Boolean;
Copy_Flag : Boolean;
Permanent_Write_Protection : Boolean;
Temporary_Write_Protection : Boolean;
File_Format : UInt8;
ECC_Code : UInt8;
CSD_CRC : UInt8;
Reserved_4 : UInt8; -- Always 1
end record;
type Card_Revision is record
Major : UInt4;
Minor : UInt4;
end record with Pack;
type Manufacturing_Year is range 2000 .. 2255;
type Manufacturing_Month is
(January,
February,
March,
April,
May,
June,
July,
August,
September,
October,
November,
December) with Size => 4;
type Manufacturing_Date_Type is record
Year : Manufacturing_Year;
Month : Manufacturing_Month;
end record;
type Card_Identification_Data_Register is record
Manufacturer_ID : UInt8;
OEM_Application_ID : String (1 .. 2);
Product_Name : String (1 .. 5);
Product_Revision : Card_Revision;
Product_Serial_Number : UInt32;
Reserved_1 : UInt8;
Manufacturing_Date : Manufacturing_Date_Type;
CID_CRC : UInt8;
Reserved_2 : UInt8; -- Always 1
end record;
type SDCard_Configuration_Register is record
SCR_Structure : UInt8;
SD_Spec : UInt8;
Data_Stat_After_Erase : UInt8;
SD_Security : UInt8;
SD_Bus_Widths : UInt8;
SD_Spec3 : Boolean;
Ex_Security : UInt8;
SD_Spec4 : Boolean;
Reserved_1 : UInt8;
CMD_Support : UInt8;
Reserved_2 : UInt32;
end record;
type Card_Information is record
SD_CSD : Card_Specific_Data_Register;
SD_CID : Card_Identification_Data_Register;
Card_Capacity : UInt64;
Card_Block_Size : UInt32;
RCA : UInt16; -- SD relative card address
Card_Type : Supported_SD_Memory_Cards :=
STD_Capacity_SD_Card_V1_1;
end record;
type SD_Command is new UInt6;
-- Resets the SD memory card
Go_Idle_State : constant SD_Command := 0;
-- Sends host capacity support information and activates the card's
-- initialization process
Send_Op_Cond : constant SD_Command := 1; -- Only for MMC
-- Asks any card connected to the host to send the CID numbers on the
-- CMD line.
All_Send_CID : constant SD_Command := 2;
-- Asks the card to publish a new relative address (RCA).
Send_Relative_Addr : constant SD_Command := 3;
-- Programs the DSR of all cards.
Set_DSR : constant SD_Command := 4;
-- Sends host capacity support information (HCS) and asks the accessed
-- card to send its operating condition register (OCR) content in the
-- response on the CMD line.
SDMMC_Send_Op_Cond : constant SD_Command := 5;
-- Checks switchable function (mode 0) and switch card function (mode 1).
Switch_Func : constant SD_Command := 6;
-- Selects the card by its own relative address and gets deselected by
-- any other address
Select_Card : constant SD_Command := 7;
Deselect_Card : constant SD_Command := 7;
-- Sends SD Memory Card interface condition
Send_If_Cond : constant SD_Command := 8;
-- Addressed card sends its card specific data
Send_CSD : constant SD_Command := 9;
-- Addressed card sends its card identification (CID) on the CMD line.
Send_CID : constant SD_Command := 10;
Read_Dat_Until_Stop : constant SD_Command := 11;
Stop_Transmission : constant SD_Command := 12;
Send_Status : constant SD_Command := 13;
HS_Bustest_Read : constant SD_Command := 14;
Go_Inactive_State : constant SD_Command := 15;
Set_Blocklen : constant SD_Command := 16;
Read_Single_Block : constant SD_Command := 17;
Read_Multi_Block : constant SD_Command := 18;
HS_Bustest_Write : constant SD_Command := 19;
Write_Dat_Until_Stop : constant SD_Command := 20;
Set_Block_Count : constant SD_Command := 23; -- Only for MMC
Write_Single_Block : constant SD_Command := 24;
Write_Multi_Block : constant SD_Command := 25;
Prog_CID : constant SD_Command := 26;
Prog_CSD : constant SD_Command := 27;
Set_Write_Prot : constant SD_Command := 28;
Clr_Write_Prot : constant SD_Command := 29;
Send_Write_Prot : constant SD_Command := 30;
SD_Erase_Grp_Start : constant SD_Command := 32;
SD_Erase_Grp_End : constant SD_Command := 33;
Erase_Grp_Start : constant SD_Command := 35;
Erase_Grp_End : constant SD_Command := 36;
Erase : constant SD_Command := 38;
Fast_IO : constant SD_Command := 39;
Go_IRQ_State : constant SD_Command := 40;
Lock_Unlock : constant SD_Command := 42;
App_Cmd : constant SD_Command := 55;
Gen_Cmd : constant SD_Command := 56;
-- SD-Card speciric commands
-- App_Cmd should be sent before sending these commands
subtype SD_Specific_Command is SD_Command;
SD_App_Set_Bus_Width : constant SD_Specific_Command := 6;
SD_App_Status : constant SD_Specific_Command := 13;
SD_App_Secure_Read_Multi_Block : constant SD_Specific_Command := 18;
SD_App_Send_Num_Write_Blocks : constant SD_Specific_Command := 22;
SD_App_Set_Write_Block_Erase_Count : constant SD_Specific_Command := 23;
SD_App_Secure_Write_Multi_Block : constant SD_Specific_Command := 25;
SD_App_Secure_Erase : constant SD_Specific_Command := 38;
SD_App_Send_Op_Cond : constant SD_Specific_Command := 41;
SD_App_Get_MKB : constant SD_Specific_Command := 43;
SD_App_Get_MID : constant SD_Specific_Command := 44;
SD_App_Set_CER_RN1 : constant SD_Specific_Command := 45;
SD_App_Get_CER_RN2 : constant SD_Specific_Command := 46;
SD_App_Set_CER_RES2 : constant SD_Specific_Command := 47;
SD_App_Get_CER_RES1 : constant SD_Specific_Command := 48;
SD_App_Change_Secure_Area : constant SD_Specific_Command := 49;
SD_App_Send_SCR : constant SD_Specific_Command := 51;
type Rsp_Kind is
(Rsp_Invalid,
-- Unknown/invalid command
Rsp_No,
-- No response.
Rsp_R1, Rsp_R1B, Rsp_R2, Rsp_R3, Rsp_R6, Rsp_R7
-- Response with format
);
-- Response format
type Tfr_Kind is
(Tfr_Invalid, Tfr_No,
Tfr_Read, Tfr_Write,
Tfr_Read_Multi, Tfr_Write_Multi);
-- Transfer
type Cmd_Desc_Type is record
Cmd : SD_Command;
Rsp : Rsp_Kind;
Tfr : Tfr_Kind;
end record;
type Cmd_Desc_Array is array (SD_Command) of Cmd_Desc_Type;
type ACmd_Desc_Array is array (SD_Specific_Command) of Cmd_Desc_Type;
Cmd_Desc : constant Cmd_Desc_Array :=
(Go_Idle_State => (Cmd => Go_Idle_State,
Rsp => Rsp_No,
Tfr => Tfr_No),
Send_Op_Cond => (Cmd => Send_Op_Cond,
Rsp => Rsp_R3,
Tfr => Tfr_No),
All_Send_CID => (Cmd => All_Send_CID,
Rsp => Rsp_R2,
Tfr => Tfr_No),
Send_Relative_Addr => (Cmd => Send_Relative_Addr,
Rsp => Rsp_R3,
Tfr => Tfr_No),
Switch_Func => (Cmd => Switch_Func,
Rsp => Rsp_R1,
Tfr => Tfr_Read),
Select_Card => (Cmd => Select_Card,
Rsp => Rsp_R1B,
Tfr => Tfr_No),
Send_If_Cond => (Cmd => Send_If_Cond,
Rsp => Rsp_R7,
Tfr => Tfr_No),
Send_CSD => (Cmd => Send_CSD,
Rsp => Rsp_R2,
Tfr => Tfr_No),
Send_CID => (Cmd => Send_CID,
Rsp => Rsp_R2,
Tfr => Tfr_No),
Stop_Transmission => (Cmd => Stop_Transmission,
Rsp => Rsp_R1,
Tfr => Tfr_No),
Read_Single_Block => (Cmd => Read_Single_Block,
Rsp => Rsp_R1,
Tfr => Tfr_Read),
Read_Multi_Block => (Cmd => Read_Multi_Block,
Rsp => Rsp_R1,
Tfr => Tfr_Read_Multi),
Send_Status => (Cmd => Send_Status,
Rsp => Rsp_R1,
Tfr => Tfr_No),
Set_Blocklen => (Cmd => Set_Blocklen,
Rsp => Rsp_R1,
Tfr => Tfr_No),
App_Cmd => (Cmd => App_Cmd,
Rsp => Rsp_R1,
Tfr => Tfr_No),
Write_Single_Block => (Cmd => Write_Single_Block,
Rsp => Rsp_R1,
Tfr => Tfr_Write),
Write_Multi_Block => (Cmd => Write_Multi_Block,
Rsp => Rsp_R1,
Tfr => Tfr_Write_Multi),
others => (Cmd => 0,
Rsp => Rsp_Invalid,
Tfr => Tfr_Invalid));
Acmd_Desc : constant ACmd_Desc_Array :=
(SD_App_Set_Bus_Width => (Cmd => SD_App_Set_Bus_Width,
Rsp => Rsp_R1,
Tfr => Tfr_No),
SD_App_Send_Op_Cond => (Cmd => SD_App_Send_Op_Cond,
Rsp => Rsp_R3,
Tfr => Tfr_No),
SD_App_Send_SCR => (Cmd => SD_App_Send_SCR,
Rsp => Rsp_R1,
Tfr => Tfr_Read),
others => (Cmd => 0,
Rsp => Rsp_Invalid,
Tfr => Tfr_Invalid));
type SDMMC_Driver is limited interface;
procedure Delay_Milliseconds
(This : SDMMC_Driver;
Amount : Natural) is abstract;
-- Do not use directly 'delay until' so that this package can still be
-- used with the zfp profile
procedure Reset
(This : in out SDMMC_Driver;
Status : out SD_Error) is abstract;
-- Initialize the driver, enable clocking.
procedure Set_Clock
(This : in out SDMMC_Driver;
Freq : Natural) is abstract;
-- Set clock frequency.
procedure Set_Bus_Size
(This : in out SDMMC_Driver;
Mode : Wide_Bus_Mode) is abstract;
-- Set host bus size; the command must have been set to the card.
procedure Send_Cmd
(This : in out SDMMC_Driver;
Cmd : Cmd_Desc_Type;
Arg : UInt32;
Status : out SD_Error) is abstract;
-- Send a command (without data transfer) and wait for result.
procedure Read_Cmd
(This : in out SDMMC_Driver;
Cmd : Cmd_Desc_Type;
Arg : UInt32;
Buf : out UInt32_Array;
Status : out SD_Error) is abstract;
-- Read data command
procedure Read_Rsp48
(This : in out SDMMC_Driver;
Rsp : out UInt32) is abstract;
-- Read the 32 interesting bits of the last 48bits response (start bit,
-- transmission bit, command index, crc and end bit are discarded).
-- Cannot fail.
procedure Read_Rsp136
(This : in out SDMMC_Driver;
W0, W1, W2, W3 : out UInt32) is abstract;
-- Read the 128 interesting bits of the last 136 bit response.
-- W0 is the MSB, W3 the LSB
-- Cannot fail.
procedure Send_Cmd
(This : in out SDMMC_Driver'Class;
Cmd : SD_Command;
Arg : UInt32;
Status : out SD_Error);
-- Wrapper for Send_Cmd using a generic command.
procedure Send_ACmd
(This : in out SDMMC_Driver'Class;
Cmd : SD_Specific_Command;
Rca : UInt16;
Arg : UInt32;
Status : out SD_Error);
-- Send application specific command
end HAL.SDMMC;
|
zhmu/ananas | Ada | 1,344 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . L O N G _ C O M P L E X _ T E X T _ I O --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
-- Ada 2005 AI-328
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Long_Complex_Types;
pragma Elaborate_All (Ada.Text_IO.Complex_IO);
package Ada.Long_Complex_Text_IO is
new Ada.Text_IO.Complex_IO (Ada.Numerics.Long_Complex_Types);
|
francesco-bongiovanni/ewok-kernel | Ada | 9,362 | ads | --
-- Copyright 2018 The wookey project team <[email protected]>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
--
with system;
with soc.layout;
package soc.gpio
with spark_mode => off
is
type t_gpio_pin_index is range 0 .. 15
with size => 4;
type t_gpio_port_index is
(GPIO_PA, GPIO_PB, GPIO_PC,
GPIO_PD, GPIO_PE, GPIO_PF,
GPIO_PG, GPIO_PH, GPIO_PI) with size => 4;
-------------------------------------------
-- GPIO port mode register (GPIOx_MODER) --
-------------------------------------------
type t_pin_mode is (MODE_IN, MODE_OUT, MODE_AF, MODE_ANALOG)
with size => 2;
for t_pin_mode use
(MODE_IN => 0,
MODE_OUT => 1,
MODE_AF => 2,
MODE_ANALOG => 3);
type t_pins_mode is array (t_gpio_pin_index) of t_pin_mode
with pack, size => 32;
type t_GPIOx_MODER is record
pin : t_pins_mode;
end record
with pack, size => 32, volatile_full_access;
-- Note: volatile_full_access: the register is volatile and the full
-- 32-bits needs to be written at once.
---------------------------------------------------
-- GPIO port output type register (GPIOx_OTYPER) --
---------------------------------------------------
type t_pin_output_type is (PUSH_PULL, OPEN_DRAIN)
with size => 1;
for t_pin_output_type use
(PUSH_PULL => 0,
OPEN_DRAIN => 1);
type t_pins_output_type is array (t_gpio_pin_index) of t_pin_output_type
with pack, size => 16;
type t_GPIOx_OTYPER is record
pin : t_pins_output_type;
end record
with size => 32, volatile_full_access;
for t_GPIOx_OTYPER use record
pin at 0 range 0 .. 15;
end record;
-----------------------------------------------------
-- GPIO port output speed register (GPIOx_OSPEEDR) --
-----------------------------------------------------
type t_pin_output_speed is
(SPEED_LOW, SPEED_MEDIUM, SPEED_HIGH, SPEED_VERY_HIGH)
with size => 2;
for t_pin_output_speed use
(SPEED_LOW => 0,
SPEED_MEDIUM => 1,
SPEED_HIGH => 2,
SPEED_VERY_HIGH => 3);
type t_pins_output_speed is array (t_gpio_pin_index) of t_pin_output_speed
with pack, size => 32;
type t_GPIOx_OSPEEDR is record
pin : t_pins_output_speed;
end record
with pack, size => 32, volatile_full_access;
--------------------------------------------------------
-- GPIO port pull-up/pull-down register (GPIOx_PUPDR) --
--------------------------------------------------------
type t_pin_pupd is (FLOATING, PULL_UP, PULL_DOWN)
with size => 2;
for t_pin_pupd use
(FLOATING => 0,
PULL_UP => 1,
PULL_DOWN => 2);
type t_pins_pupd is array (t_gpio_pin_index) of t_pin_pupd
with pack, size => 32;
type t_GPIOx_PUPDR is record
pin : t_pins_pupd;
end record
with pack, size => 32, volatile_full_access;
-----------------------------------------------
-- GPIO port input data register (GPIOx_IDR) --
-----------------------------------------------
type t_pins_idr is array (t_gpio_pin_index) of bit
with pack, size => 16;
type t_GPIOx_IDR is record
pin : t_pins_idr;
end record
with size => 32, volatile_full_access;
for t_GPIOx_IDR use record
pin at 0 range 0 .. 15;
end record;
------------------------------------------------
-- GPIO port output data register (GPIOx_ODR) --
------------------------------------------------
type t_pins_odr is array (t_gpio_pin_index) of bit
with pack, size => 16;
type t_GPIOx_ODR is record
pin : t_pins_odr;
end record
with size => 32, volatile_full_access;
for t_GPIOx_ODR use record
pin at 0 range 0 .. 15;
end record;
---------------------------------------------------
-- GPIO port bit set/reset register (GPIOx_BSRR) --
---------------------------------------------------
type t_pins_bsrr is array (t_gpio_pin_index) of bit
with pack, size => 16;
type t_GPIOx_BSRR is record
BS : t_pins_bsrr;
BR : t_pins_bsrr;
end record
with pack, size => 32, volatile_full_access;
--------------------------------------------------------
-- GPIO port configuration lock register (GPIOx_LCKR) --
--------------------------------------------------------
type t_pin_lock is (NOT_LOCKED, LOCKED)
with size => 1;
for t_pin_lock use
(NOT_LOCKED => 0,
LOCKED => 1);
type t_pins_lock is array (t_gpio_pin_index) of t_pin_lock
with pack, size => 16;
type t_GPIOx_LCKR is record
pin : t_pins_lock;
lock_key : bit;
end record
with size => 32, volatile_full_access;
for t_GPIOx_LCKR use record
pin at 0 range 0 .. 15;
lock_key at 0 range 16 .. 16;
end record;
-------------------------------------------------------
-- GPIO alternate function low register (GPIOx_AFRL) --
-------------------------------------------------------
type t_pin_alt_func is range 0 .. 15 with size => 4;
-- See RM0090, p. 274
GPIO_AF_USART1 : constant t_pin_alt_func := 7;
GPIO_AF_USART2 : constant t_pin_alt_func := 7;
GPIO_AF_USART3 : constant t_pin_alt_func := 7;
GPIO_AF_UART4 : constant t_pin_alt_func := 8;
GPIO_AF_UART5 : constant t_pin_alt_func := 8;
GPIO_AF_USART6 : constant t_pin_alt_func := 8;
GPIO_AF_SDIO : constant t_pin_alt_func := 12;
type t_pins_alt_func_0_7 is array (t_gpio_pin_index range 0 .. 7)
of t_pin_alt_func
with pack, size => 32;
type t_pins_alt_func_8_15 is array (t_gpio_pin_index range 8 .. 15)
of t_pin_alt_func
with pack, size => 32;
type t_GPIOx_AFRL is record
pin : t_pins_alt_func_0_7;
end record
with pack, size => 32, volatile_full_access;
type t_GPIOx_AFRH is record
pin : t_pins_alt_func_8_15;
end record
with pack, size => 32, volatile_full_access;
---------------
-- GPIO port --
---------------
type t_GPIO_port is record
MODER : t_GPIOx_MODER;
OTYPER : t_GPIOx_OTYPER;
OSPEEDR : t_GPIOx_OSPEEDR;
PUPDR : t_GPIOx_PUPDR;
IDR : t_GPIOx_IDR;
ODR : t_GPIOx_ODR;
BSRR : t_GPIOx_BSRR;
LCKR : t_GPIOx_LCKR;
AFRL : t_GPIOx_AFRL;
AFRH : t_GPIOx_AFRH;
end record
with volatile;
for t_GPIO_port use record
MODER at 16#00# range 0 .. 31;
OTYPER at 16#04# range 0 .. 31;
OSPEEDR at 16#08# range 0 .. 31;
PUPDR at 16#0C# range 0 .. 31;
IDR at 16#10# range 0 .. 31;
ODR at 16#14# range 0 .. 31;
BSRR at 16#18# range 0 .. 31;
LCKR at 16#1C# range 0 .. 31;
AFRL at 16#20# range 0 .. 31;
AFRH at 16#24# range 0 .. 31;
end record;
type t_GPIO_port_access is access all t_GPIO_port;
----------------------
-- GPIO peripherals --
----------------------
GPIOA : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOA_BASE);
GPIOB : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOB_BASE);
GPIOC : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOC_BASE);
GPIOD : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOD_BASE);
GPIOE : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOE_BASE);
GPIOF : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOF_BASE);
GPIOG : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOG_BASE);
GPIOH : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOH_BASE);
GPIOI : aliased t_GPIO_port
with import, volatile,
address => system'to_address (soc.layout.GPIOI_BASE);
---------------
-- Utilities --
---------------
function get_port_access
(port : t_gpio_port_index) return t_GPIO_port_access;
procedure config
(port : in t_gpio_port_index;
pin : in t_gpio_pin_index;
mode : in t_pin_mode;
otype : in t_pin_output_type;
ospeed : in t_pin_output_speed;
pupd : in t_pin_pupd;
af : in t_pin_alt_func);
end soc.gpio;
|
procrastiraptor/euler | Ada | 322 | adb | with Ada.Integer_Text_IO;
procedure Euler6 is
Sum_Of_Squares, Sum_Of_Ints: Integer := 0;
begin
for I in Integer range 1 .. 100 loop
Sum_Of_Squares := Sum_Of_Squares + I * I;
Sum_Of_Ints := Sum_Of_Ints + I;
end loop;
Ada.Integer_Text_IO.Put(Sum_Of_Ints * Sum_Of_Ints - Sum_Of_Squares);
end Euler6;
|
Rodeo-McCabe/orka | Ada | 1,087 | ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
private package Orka.Loggers.Formatting is
function Format_Message
(From : Source;
Kind : Message_Type;
Level : Severity;
ID : Natural;
Message : String) return String;
function Format_Message_No_Color
(From : Source;
Kind : Message_Type;
Level : Severity;
ID : Natural;
Message : String) return String;
end Orka.Loggers.Formatting;
|
jam3st/edk2 | Ada | 851 | ads | --
-- Copyright (C) 2017 Nico Huber <[email protected]>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
package HW.Config
is
Dynamic_MMIO : constant Boolean := True;
Default_MMConf_Base : constant := 16#b0000000#;
----------------------------------------------------------------------------
Default_MMConf_Base_Set : constant Boolean := Default_MMConf_Base /= 0;
end HW.Config;
|
MinimSecure/unum-sdk | Ada | 976 | adb | -- Copyright 2018-2019 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
with Pack; use Pack;
procedure Foo is
type String_Access is access String;
type Array_Of_String is array (1 .. 2) of String_Access;
Aos : Array_Of_String := (new String'("ab"), new String'("cd"));
begin
Do_Nothing (Aos'Address); -- BREAK
end Foo;
|
reznikmm/matreshka | Ada | 3,619 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Attributes.FO.Border is
type ODF_FO_Border is
new XML.DOM.Attributes.DOM_Attribute with private;
private
type ODF_FO_Border is
new XML.DOM.Attributes.DOM_Attribute with null record;
end ODF.DOM.Attributes.FO.Border;
|
jrcarter/Ada_GUI | Ada | 2,810 | adb | -- --
-- procedure Copyright (c) Dmitry A. Kazakov --
-- Parsers.Generic_Source.Get_Text Luebeck --
-- Implementation Winter, 2004 --
-- --
-- Last revision : 22:28 15 Feb 2009 --
-- --
-- This library is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public License as --
-- published by the Free Software Foundation; either version 2 of --
-- the License, or (at your option) any later version. This library --
-- is distributed in the hope that it will be useful, but WITHOUT --
-- ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. You should have --
-- received a copy of the GNU General Public License along with --
-- this library; if not, write to the Free Software Foundation, --
-- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --
-- --
-- As a special exception, if other files instantiate generics from --
-- this unit, or you link this unit with other files to produce an --
-- executable, this unit does not by itself cause the resulting --
-- executable to be covered by the GNU General Public License. This --
-- exception does not however invalidate any other reasons why the --
-- executable file might be covered by the GNU Public License. --
--____________________________________________________________________--
with Ada.IO_Exceptions; use Ada.IO_Exceptions;
procedure Parsers.Generic_Source.Get_Text
( Code : in out Source_Type;
Text : String;
Got_It : out Boolean;
Map : Character_Mapping := Identity
) is
Line : Line_Ptr_Type;
Pointer : Integer;
Last : Integer;
begin
Get_Line (Code, Line, Pointer, Last);
if Last - Pointer >= Text'Length - 1 then
for Index in Text'Range loop
if Value (Map, Text (Index)) /= Value (Map, Line (Pointer))
then
Got_It := False;
return;
end if;
Pointer := Pointer + 1;
end loop;
Got_It := True;
Set_Pointer (Code, Pointer);
else
Got_It := False;
end if;
exception
when End_Error =>
Got_It := False;
end Parsers.Generic_Source.Get_Text;
|
Fabien-Chouteau/coffee-clock | Ada | 55,149 | ads | -- This file was generated by bmp2ada
with Giza.Image;
with Giza.Image.DMA2D;
use Giza.Image.DMA2D;
package digit_4 is
pragma Style_Checks (Off);
CLUT : aliased constant L4_CLUT_T := (
(R => 0, G => 0, B => 0),
(R => 255, G => 0, B => 0), others => (0, 0, 0));
Data : aliased constant L4_Data_T := (
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
1, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
);
Image : constant Giza.Image.Ref := new Giza.Image.DMA2D.Instance'
(Mode => L4, W => 160, H => 195, Length => 15600, L4_CLUT => CLUT'Access, L4_Data => Data'Access);
pragma Style_Checks (On);
end digit_4;
|
zhmu/ananas | Ada | 112 | adb | -- { dg-do compile }
-- { dg-options "-gnata" }
package body Equal8 is
procedure Foo is null;
end Equal8;
|
pok-kernel/pok | Ada | 3,257 | ads | -- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on the POK licence, please see our LICENCE FILE
--
-- Please follow the coding guidelines described in doc/CODING_GUIDELINES
--
-- Copyright (c) 2007-2022 POK team
-- ---------------------------------------------------------------------------
-- --
-- SAMPLING PORT constant and type definitions and management services --
-- --
-- ---------------------------------------------------------------------------
package APEX.Sampling_Ports is
Max_Number_Of_Sampling_Ports : constant :=
System_Limit_Number_Of_Sampling_Ports;
subtype Sampling_Port_Name_Type is Name_Type;
type Sampling_Port_Id_Type is private;
Null_Sampling_Port_Id : constant Sampling_Port_Id_Type;
type Validity_Type is (Invalid, Valid);
type Sampling_Port_Status_Type is record
Refresh_Period : System_Time_Type;
Max_Message_Size : Message_Size_Type;
Port_Direction : Port_Direction_Type;
Last_Msg_Validity : Validity_Type;
end record;
procedure Create_Sampling_Port
(Sampling_Port_Name : in Sampling_Port_Name_Type;
Max_Message_Size : in Message_Size_Type;
Port_Direction : in Port_Direction_Type;
Refresh_Period : in System_Time_Type;
Sampling_Port_Id : out Sampling_Port_Id_Type;
Return_Code : out Return_Code_Type);
procedure Write_Sampling_Message
(Sampling_Port_Id : in Sampling_Port_Id_Type;
Message_Addr : in Message_Addr_Type;
Length : in Message_Size_Type;
Return_Code : out Return_Code_Type);
procedure Read_Sampling_Message
(Sampling_Port_Id : in Sampling_Port_Id_Type;
Message_Addr : in Message_Addr_Type;
-- The message address is passed IN, although the respective message is
-- passed OUT
Length : out Message_Size_Type;
Validity : out Validity_Type;
Return_Code : out Return_Code_Type);
procedure Get_Sampling_Port_Id
(Sampling_Port_Name : in Sampling_Port_Name_Type;
Sampling_Port_Id : out Sampling_Port_Id_Type;
Return_Code : out Return_Code_Type);
procedure Get_Sampling_Port_Status
(Sampling_Port_Id : in Sampling_Port_Id_Type;
Sampling_Port_Status : out Sampling_Port_Status_Type;
Return_Code : out Return_Code_Type);
private
type Sampling_Port_Id_Type is new APEX_Integer;
Null_Sampling_Port_Id : constant Sampling_Port_Id_Type := 0;
pragma Convention (C, Validity_Type);
pragma Convention (C, Sampling_Port_Status_Type);
-- POK BINDINGS
pragma Import (C, Create_Sampling_Port, "CREATE_SAMPLING_PORT");
pragma Import (C, Write_Sampling_Message, "WRITE_SAMPLING_MESSAGE");
pragma Import (C, Read_Sampling_Message, "READ_SAMPLING_MESSAGE");
pragma Import (C, Get_Sampling_Port_Id, "GET_SAMPLING_PORT_ID");
pragma Import (C, Get_Sampling_Port_Status, "GET_SAMPLING_PORT_STATUS");
-- END OF POK BINDINGS
end APEX.Sampling_Ports;
|
rveenker/sdlada | Ada | 2,995 | ads | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
--
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
--
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--------------------------------------------------------------------------------------------------------------------
-- SDL.Video.Surfaces.Makers
--
-- Functions to create surface objects.
--------------------------------------------------------------------------------------------------------------------
with Interfaces.C.Strings;
package SDL.Video.Surfaces.Makers is
procedure Create (Self : in out Surface;
Size : in SDL.Sizes;
BPP : in Pixel_Depths;
Red_Mask : in Colour_Masks;
Blue_Mask : in Colour_Masks;
Green_Mask : in Colour_Masks;
Alpha_Mask : in Colour_Masks);
procedure Create (Self : in out Surface;
Pixels : in C.Strings.chars_ptr;
Size : in SDL.Sizes;
BPP : in Pixel_Depths;
Pitch : in Integer;
Red_Mask : in Colour_Masks;
Blue_Mask : in Colour_Masks;
Green_Mask : in Colour_Masks;
Alpha_Mask : in Colour_Masks);
-- TODO: This is likely a temporary place for this. It's likely I will add a Streams package.
-- procedure Create (Self : in out Surface; File_Name : in String);
private
function Get_Internal_Surface (Self : in Surface) return Internal_Surface_Pointer with
Export => True,
Convention => Ada;
-- Create a surface from an internal pointer, this pointer will be owned by something else, so we don't delete it.
function Make_Surface_From_Pointer (S : in Internal_Surface_Pointer; Owns : in Boolean := False) return Surface with
Export => True,
Convention => Ada;
-- TODO: SDL_ConvertSurface
-- TODO: SDL_ConvertSurfaceFormat
-- TODO: SDL_CreateRGBSurfaceFrom
end SDL.Video.Surfaces.Makers;
|
usainzg/EHU | Ada | 3,215 | adb | with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
package body Listas is
procedure Crear_Vacia (
L : out Lista) is
begin
L := null;
end Crear_Vacia;
procedure Colocar (
L : in out Lista;
E : in Integer) is
-- Algoritmo recursivo
begin
if L = null or else E<= L.Info then
L := new Nodo'(E, L); -- Colocar al comienzo
else
Colocar (L.Sig, E);
end if;
end Colocar;
procedure Obtener_Primero (
L : in Lista;
P : out Integer) is
begin
if L = null then
Put_Line("Lista_Vacia");
else
P:= L.Info;
end if;
end Obtener_Primero;
function Esta (
L : in Lista;
N : in Integer)
return Boolean is
-- Algoritmo iterativo
Auxi : Lista := L;
begin
while Auxi/=null and then N> Auxi.Info loop
Auxi:= Auxi.Sig;
end loop;
return Auxi/=null and then N= Auxi.Info;
end Esta;
procedure Borrar_Primero (
L : in out Lista) is
begin
if L = null then
Put_Line("Lista_Vacia");
else
L := L.Sig;
end if;
end Borrar_Primero;
procedure Crear_Sublista(
L : in Lista;
Sl : out Lista) is
-- Algoritmo iterativo
Cont: Natural:=0;
AuxL: Lista:= L;
AuxSl: Lista:= null;
begin
Sl:=null;
while AuxL/= null and Cont < Cuantos loop
if Filtro(AuxL.Info) then
Cont:= Cont+1;
if Sl=null then
Sl:= new Nodo'(AuxL.Info, null);
AuxSl:= Sl;
else
AuxSl.Sig:= new Nodo'(AuxL.Info, null);
AuxSl:= AuxSl.Sig;
end if;
end if;
AuxL:= Auxl.Sig;
end loop;
end Crear_Sublista;
function Es_Vacia (
L : in Lista)
return Boolean is
begin
return L = null;
end Es_Vacia;
function Igual (
L1,
L2 : in Lista)
return Boolean is
-- Algoritmo recursivo
begin
if L1 = null and L2 = null then
return True;
elsif L1 = null or L2 = null then
return False;
else
return L1.Info=L2.Info and then
Igual(L1.Sig, L2.Sig); -- Llamada recursiva!
end if;
end Igual;
procedure Copiar (
L1 : out Lista;
L2 : in Lista) is
-- Algoritmo recursivo
begin
if L2 = null then
L1 := null;
else
Copiar(L1, L2.Sig);
L1 := new Nodo'(L2.Info, L1);
end if;
end Copiar;
end Listas;
|
AdaCore/libadalang | Ada | 115 | ads | with C;
package D is
type Foo is null record;
procedure Pouet (Self : in out Foo; R : C.Root_Type);
end D;
|
zhmu/ananas | Ada | 33,664 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T A G S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Exceptions;
with System.HTable;
with System.Storage_Elements; use System.Storage_Elements;
with System.WCh_Con; use System.WCh_Con;
with System.WCh_StW; use System.WCh_StW;
pragma Elaborate (System.HTable);
-- Elaborate needed instead of Elaborate_All to avoid elaboration cycles
-- when polling is turned on. This is safe because HTable doesn't do anything
-- at elaboration time; it just contains a generic package we want to
-- instantiate.
package body Ada.Tags is
-----------------------
-- Local Subprograms --
-----------------------
function Get_External_Tag (T : Tag) return System.Address;
-- Returns address of a null terminated string containing the external name
function Is_Primary_DT (T : Tag) return Boolean;
-- Given a tag returns True if it has the signature of a primary dispatch
-- table. This is Inline_Always since it is called from other Inline_
-- Always subprograms where we want no out of line code to be generated.
function IW_Membership
(Descendant_TSD : Type_Specific_Data_Ptr;
T : Tag) return Boolean;
-- Subsidiary function of IW_Membership and CW_Membership which factorizes
-- the functionality needed to check if a given descendant implements an
-- interface tag T.
function Length (Str : Cstring_Ptr) return Natural;
-- Length of string represented by the given pointer (treating the string
-- as a C-style string, which is Nul terminated). See comment in body
-- explaining why we cannot use the normal strlen built-in.
function OSD (T : Tag) return Object_Specific_Data_Ptr;
-- Ada 2005 (AI-251): Given a pointer T to a secondary dispatch table,
-- retrieve the address of the record containing the Object Specific
-- Data table.
function SSD (T : Tag) return Select_Specific_Data_Ptr;
-- Ada 2005 (AI-251): Given a pointer T to a dispatch Table, retrieves the
-- address of the record containing the Select Specific Data in T's TSD.
pragma Inline_Always (Get_External_Tag);
pragma Inline_Always (Is_Primary_DT);
pragma Inline_Always (OSD);
pragma Inline_Always (SSD);
-- Unchecked conversions
function To_Address is
new Unchecked_Conversion (Cstring_Ptr, System.Address);
function To_Cstring_Ptr is
new Unchecked_Conversion (System.Address, Cstring_Ptr);
-- Disable warnings on possible aliasing problem
function To_Tag is
new Unchecked_Conversion (Integer_Address, Tag);
function To_Dispatch_Table_Ptr is
new Ada.Unchecked_Conversion (Tag, Dispatch_Table_Ptr);
function To_Dispatch_Table_Ptr is
new Ada.Unchecked_Conversion (System.Address, Dispatch_Table_Ptr);
function To_Object_Specific_Data_Ptr is
new Ada.Unchecked_Conversion (System.Address, Object_Specific_Data_Ptr);
function To_Tag_Ptr is
new Ada.Unchecked_Conversion (System.Address, Tag_Ptr);
-------------------------------
-- Inline_Always Subprograms --
-------------------------------
-- Inline_always subprograms must be placed before their first call to
-- avoid defeating the frontend inlining mechanism and thus ensure the
-- generation of their correct debug info.
----------------------
-- Get_External_Tag --
----------------------
function Get_External_Tag (T : Tag) return System.Address is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return To_Address (TSD.External_Tag);
end Get_External_Tag;
-----------------
-- Is_Abstract --
-----------------
function Is_Abstract (T : Tag) return Boolean is
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
return TSD.Is_Abstract;
end Is_Abstract;
-------------------
-- Is_Primary_DT --
-------------------
function Is_Primary_DT (T : Tag) return Boolean is
begin
return DT (T).Signature = Primary_DT;
end Is_Primary_DT;
---------
-- OSD --
---------
function OSD (T : Tag) return Object_Specific_Data_Ptr is
OSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
begin
return To_Object_Specific_Data_Ptr (OSD_Ptr.all);
end OSD;
---------
-- SSD --
---------
function SSD (T : Tag) return Select_Specific_Data_Ptr is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.SSD;
end SSD;
-------------------------
-- External_Tag_HTable --
-------------------------
type HTable_Headers is range 1 .. 64;
-- The following internal package defines the routines used for the
-- instantiation of a new System.HTable.Static_HTable (see below). See
-- spec in g-htable.ads for details of usage.
package HTable_Subprograms is
procedure Set_HT_Link (T : Tag; Next : Tag);
function Get_HT_Link (T : Tag) return Tag;
function Hash (F : System.Address) return HTable_Headers;
function Equal (A, B : System.Address) return Boolean;
end HTable_Subprograms;
package External_Tag_HTable is new System.HTable.Static_HTable (
Header_Num => HTable_Headers,
Element => Dispatch_Table,
Elmt_Ptr => Tag,
Null_Ptr => null,
Set_Next => HTable_Subprograms.Set_HT_Link,
Next => HTable_Subprograms.Get_HT_Link,
Key => System.Address,
Get_Key => Get_External_Tag,
Hash => HTable_Subprograms.Hash,
Equal => HTable_Subprograms.Equal);
------------------------
-- HTable_Subprograms --
------------------------
-- Bodies of routines for hash table instantiation
package body HTable_Subprograms is
-----------
-- Equal --
-----------
function Equal (A, B : System.Address) return Boolean is
Str1 : constant Cstring_Ptr := To_Cstring_Ptr (A);
Str2 : constant Cstring_Ptr := To_Cstring_Ptr (B);
J : Integer;
begin
J := 1;
loop
if Str1 (J) /= Str2 (J) then
return False;
elsif Str1 (J) = ASCII.NUL then
return True;
else
J := J + 1;
end if;
end loop;
end Equal;
-----------------
-- Get_HT_Link --
-----------------
function Get_HT_Link (T : Tag) return Tag is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.HT_Link.all;
end Get_HT_Link;
----------
-- Hash --
----------
function Hash (F : System.Address) return HTable_Headers is
function H is new System.HTable.Hash (HTable_Headers);
Str : constant Cstring_Ptr := To_Cstring_Ptr (F);
Res : constant HTable_Headers := H (Str (1 .. Length (Str)));
begin
return Res;
end Hash;
-----------------
-- Set_HT_Link --
-----------------
procedure Set_HT_Link (T : Tag; Next : Tag) is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
TSD.HT_Link.all := Next;
end Set_HT_Link;
end HTable_Subprograms;
------------------
-- Base_Address --
------------------
function Base_Address (This : System.Address) return System.Address is
begin
return This + Offset_To_Top (This);
end Base_Address;
---------------
-- Check_TSD --
---------------
procedure Check_TSD (TSD : Type_Specific_Data_Ptr) is
T : Tag;
E_Tag_Len : constant Integer := Length (TSD.External_Tag);
E_Tag : String (1 .. E_Tag_Len);
for E_Tag'Address use TSD.External_Tag.all'Address;
pragma Import (Ada, E_Tag);
Dup_Ext_Tag : constant String := "duplicated external tag """;
begin
-- Verify that the external tag of this TSD is not registered in the
-- runtime hash table.
T := External_Tag_HTable.Get (To_Address (TSD.External_Tag));
if T /= null then
-- Avoid concatenation, as it is not allowed in no run time mode
declare
Msg : String (1 .. Dup_Ext_Tag'Length + E_Tag_Len + 1);
begin
Msg (1 .. Dup_Ext_Tag'Length) := Dup_Ext_Tag;
Msg (Dup_Ext_Tag'Length + 1 .. Dup_Ext_Tag'Length + E_Tag_Len) :=
E_Tag;
Msg (Msg'Last) := '"';
raise Program_Error with Msg;
end;
end if;
end Check_TSD;
--------------------
-- Descendant_Tag --
--------------------
function Descendant_Tag (External : String; Ancestor : Tag) return Tag is
Int_Tag : constant Tag := Internal_Tag (External);
begin
if not Is_Descendant_At_Same_Level (Int_Tag, Ancestor) then
raise Tag_Error;
else
return Int_Tag;
end if;
end Descendant_Tag;
--------------
-- Displace --
--------------
function Displace (This : System.Address; T : Tag) return System.Address is
Iface_Table : Interface_Data_Ptr;
Obj_Base : System.Address;
Obj_DT : Dispatch_Table_Ptr;
Obj_DT_Tag : Tag;
begin
if System."=" (This, System.Null_Address) then
return System.Null_Address;
end if;
Obj_Base := Base_Address (This);
Obj_DT_Tag := To_Tag_Ptr (Obj_Base).all;
Obj_DT := DT (To_Tag_Ptr (Obj_Base).all);
Iface_Table := To_Type_Specific_Data_Ptr (Obj_DT.TSD).Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = T then
-- Case of Static value of Offset_To_Top
if Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top then
Obj_Base := Obj_Base -
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Value;
-- Otherwise call the function generated by the expander to
-- provide the value.
else
Obj_Base := Obj_Base -
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Func.all
(Obj_Base);
end if;
return Obj_Base;
end if;
end loop;
end if;
-- Check if T is an immediate ancestor. This is required to handle
-- conversion of class-wide interfaces to tagged types.
if CW_Membership (Obj_DT_Tag, T) then
return Obj_Base;
end if;
-- If the object does not implement the interface we must raise CE
raise Constraint_Error with "invalid interface conversion";
end Displace;
--------
-- DT --
--------
function DT (T : Tag) return Dispatch_Table_Ptr is
Offset : constant SSE.Storage_Offset :=
To_Dispatch_Table_Ptr (T).Prims_Ptr'Position;
begin
return To_Dispatch_Table_Ptr (To_Address (T) - Offset);
end DT;
-------------------
-- IW_Membership --
-------------------
function IW_Membership
(Descendant_TSD : Type_Specific_Data_Ptr;
T : Tag) return Boolean
is
Iface_Table : Interface_Data_Ptr;
begin
Iface_Table := Descendant_TSD.Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = T then
return True;
end if;
end loop;
end if;
-- Look for the tag in the ancestor tags table. This is required for:
-- Iface_CW in Typ'Class
for Id in 0 .. Descendant_TSD.Idepth loop
if Descendant_TSD.Tags_Table (Id) = T then
return True;
end if;
end loop;
return False;
end IW_Membership;
-------------------
-- IW_Membership --
-------------------
-- Canonical implementation of Classwide Membership corresponding to:
-- Obj in Iface'Class
-- Each dispatch table contains a table with the tags of all the
-- implemented interfaces.
-- Obj is in Iface'Class if Iface'Tag is found in the table of interfaces
-- that are contained in the dispatch table referenced by Obj'Tag.
function IW_Membership (This : System.Address; T : Tag) return Boolean is
Obj_Base : System.Address;
Obj_DT : Dispatch_Table_Ptr;
Obj_TSD : Type_Specific_Data_Ptr;
begin
Obj_Base := Base_Address (This);
Obj_DT := DT (To_Tag_Ptr (Obj_Base).all);
Obj_TSD := To_Type_Specific_Data_Ptr (Obj_DT.TSD);
return IW_Membership (Obj_TSD, T);
end IW_Membership;
-------------------
-- Expanded_Name --
-------------------
function Expanded_Name (T : Tag) return String is
Result : Cstring_Ptr;
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
Result := TSD.Expanded_Name;
return Result (1 .. Length (Result));
end Expanded_Name;
------------------
-- External_Tag --
------------------
function External_Tag (T : Tag) return String is
Result : Cstring_Ptr;
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
Result := TSD.External_Tag;
return Result (1 .. Length (Result));
end External_Tag;
---------------------
-- Get_Entry_Index --
---------------------
function Get_Entry_Index (T : Tag; Position : Positive) return Positive is
begin
return SSD (T).SSD_Table (Position).Index;
end Get_Entry_Index;
----------------------
-- Get_Prim_Op_Kind --
----------------------
function Get_Prim_Op_Kind
(T : Tag;
Position : Positive) return Prim_Op_Kind
is
begin
return SSD (T).SSD_Table (Position).Kind;
end Get_Prim_Op_Kind;
----------------------
-- Get_Offset_Index --
----------------------
function Get_Offset_Index
(T : Tag;
Position : Positive) return Positive
is
begin
if Is_Primary_DT (T) then
return Position;
else
return OSD (T).OSD_Table (Position);
end if;
end Get_Offset_Index;
---------------------
-- Get_Tagged_Kind --
---------------------
function Get_Tagged_Kind (T : Tag) return Tagged_Kind is
begin
return DT (T).Tag_Kind;
end Get_Tagged_Kind;
-----------------------------
-- Interface_Ancestor_Tags --
-----------------------------
function Interface_Ancestor_Tags (T : Tag) return Tag_Array is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
Iface_Table : constant Interface_Data_Ptr := TSD.Interfaces_Table;
begin
if Iface_Table = null then
declare
Table : Tag_Array (1 .. 0);
begin
return Table;
end;
else
declare
Table : Tag_Array (1 .. Iface_Table.Nb_Ifaces);
begin
for J in 1 .. Iface_Table.Nb_Ifaces loop
Table (J) := Iface_Table.Ifaces_Table (J).Iface_Tag;
end loop;
return Table;
end;
end if;
end Interface_Ancestor_Tags;
------------------
-- Internal_Tag --
------------------
-- Internal tags have the following format:
-- "Internal tag at 16#ADDRESS#: <full-name-of-tagged-type>"
Internal_Tag_Header : constant String := "Internal tag at ";
Header_Separator : constant Character := '#';
function Internal_Tag (External : String) return Tag is
pragma Unsuppress (All_Checks);
-- To make T'Class'Input robust in the case of bad data
Res : Tag := null;
begin
-- Raise Tag_Error for empty strings and very long strings. This makes
-- T'Class'Input robust in the case of bad data, for example
--
-- String (123456789..1234)
--
-- The limit of 10,000 characters is arbitrary, but is unlikely to be
-- exceeded by legitimate external tag names.
if External'Length not in 1 .. 10_000 then
raise Tag_Error;
end if;
-- Handle locally defined tagged types
if External'Length > Internal_Tag_Header'Length
and then
External (External'First ..
External'First + Internal_Tag_Header'Length - 1) =
Internal_Tag_Header
then
declare
Addr_First : constant Natural :=
External'First + Internal_Tag_Header'Length;
Addr_Last : Natural;
Addr : Integer_Address;
begin
-- Search the second separator (#) to identify the address
Addr_Last := Addr_First;
for J in 1 .. 2 loop
while Addr_Last <= External'Last
and then External (Addr_Last) /= Header_Separator
loop
Addr_Last := Addr_Last + 1;
end loop;
-- Skip the first separator
if J = 1 then
Addr_Last := Addr_Last + 1;
end if;
end loop;
if Addr_Last <= External'Last then
-- Protect the run-time against wrong internal tags. We
-- cannot use exception handlers here because it would
-- disable the use of this run-time compiling with
-- restriction No_Exception_Handler.
declare
C : Character;
Wrong_Tag : Boolean := False;
begin
if External (Addr_First) /= '1'
or else External (Addr_First + 1) /= '6'
or else External (Addr_First + 2) /= '#'
then
Wrong_Tag := True;
else
for J in Addr_First + 3 .. Addr_Last - 1 loop
C := External (J);
if not (C in '0' .. '9')
and then not (C in 'A' .. 'F')
and then not (C in 'a' .. 'f')
then
Wrong_Tag := True;
exit;
end if;
end loop;
end if;
-- Convert the numeric value into a tag
if not Wrong_Tag then
Addr := Integer_Address'Value
(External (Addr_First .. Addr_Last));
-- Internal tags never have value 0
if Addr /= 0 then
return To_Tag (Addr);
end if;
end if;
end;
end if;
end;
-- Handle library-level tagged types
else
-- Make NUL-terminated copy of external tag string
declare
Ext_Copy : aliased String (External'First .. External'Last + 1);
pragma Assert (Ext_Copy'Length > 1); -- See Length check at top
begin
Ext_Copy (External'Range) := External;
Ext_Copy (Ext_Copy'Last) := ASCII.NUL;
Res := External_Tag_HTable.Get (Ext_Copy'Address);
end;
end if;
if Res = null then
declare
Msg1 : constant String := "unknown tagged type: ";
Msg2 : String (1 .. Msg1'Length + External'Length);
begin
Msg2 (1 .. Msg1'Length) := Msg1;
Msg2 (Msg1'Length + 1 .. Msg1'Length + External'Length) :=
External;
Ada.Exceptions.Raise_Exception (Tag_Error'Identity, Msg2);
end;
end if;
return Res;
end Internal_Tag;
---------------------------------
-- Is_Descendant_At_Same_Level --
---------------------------------
function Is_Descendant_At_Same_Level
(Descendant : Tag;
Ancestor : Tag) return Boolean
is
begin
if Descendant = Ancestor then
return True;
else
declare
D_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Descendant) - DT_Typeinfo_Ptr_Size);
A_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Ancestor) - DT_Typeinfo_Ptr_Size);
D_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (D_TSD_Ptr.all);
A_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (A_TSD_Ptr.all);
begin
return
D_TSD.Access_Level = A_TSD.Access_Level
and then (CW_Membership (Descendant, Ancestor)
or else IW_Membership (D_TSD, Ancestor));
end;
end if;
end Is_Descendant_At_Same_Level;
------------
-- Length --
------------
-- Note: This unit is used in the Ravenscar runtime library, so it cannot
-- depend on System.CTRL. Furthermore, this happens on CPUs where the GCC
-- intrinsic strlen may not be available, so we need to recode our own Ada
-- version here.
function Length (Str : Cstring_Ptr) return Natural is
Len : Integer;
begin
Len := 1;
while Str (Len) /= ASCII.NUL loop
Len := Len + 1;
end loop;
return Len - 1;
end Length;
-------------------
-- Offset_To_Top --
-------------------
function Offset_To_Top
(This : System.Address) return SSE.Storage_Offset
is
Tag_Size : constant SSE.Storage_Count :=
SSE.Storage_Count (1 * (Standard'Address_Size / System.Storage_Unit));
type Storage_Offset_Ptr is access SSE.Storage_Offset;
function To_Storage_Offset_Ptr is
new Unchecked_Conversion (System.Address, Storage_Offset_Ptr);
Curr_DT : Dispatch_Table_Ptr;
begin
Curr_DT := DT (To_Tag_Ptr (This).all);
-- See the documentation of Dispatch_Table_Wrapper.Offset_To_Top
if Curr_DT.Offset_To_Top = SSE.Storage_Offset'Last then
-- The parent record type has variable-size components, so the
-- instance-specific offset is stored in the tagged record, right
-- after the reference to Curr_DT (which is a secondary dispatch
-- table).
return To_Storage_Offset_Ptr (This + Tag_Size).all;
else
-- The offset is compile-time known, so it is simply stored in the
-- Offset_To_Top field.
return Curr_DT.Offset_To_Top;
end if;
end Offset_To_Top;
------------------------
-- Needs_Finalization --
------------------------
function Needs_Finalization (T : Tag) return Boolean is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.Needs_Finalization;
end Needs_Finalization;
-----------------
-- Parent_Size --
-----------------
function Parent_Size
(Obj : System.Address;
T : Tag) return SSE.Storage_Count
is
Parent_Slot : constant Positive := 1;
-- The tag of the parent is always in the first slot of the table of
-- ancestor tags.
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- Pointer to the TSD
Parent_Tag : constant Tag := TSD.Tags_Table (Parent_Slot);
Parent_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Parent_Tag) - DT_Typeinfo_Ptr_Size);
Parent_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (Parent_TSD_Ptr.all);
begin
-- Here we compute the size of the _parent field of the object
return SSE.Storage_Count (Parent_TSD.Size_Func.all (Obj));
end Parent_Size;
----------------
-- Parent_Tag --
----------------
function Parent_Tag (T : Tag) return Tag is
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- The Parent_Tag of a root-level tagged type is defined to be No_Tag.
-- The first entry in the Ancestors_Tags array will be null for such
-- a type, but it's better to be explicit about returning No_Tag in
-- this case.
if TSD.Idepth = 0 then
return No_Tag;
else
return TSD.Tags_Table (1);
end if;
end Parent_Tag;
-------------------------------
-- Register_Interface_Offset --
-------------------------------
procedure Register_Interface_Offset
(Prim_T : Tag;
Interface_T : Tag;
Is_Static : Boolean;
Offset_Value : SSE.Storage_Offset;
Offset_Func : Offset_To_Top_Function_Ptr)
is
Prim_DT : constant Dispatch_Table_Ptr := DT (Prim_T);
Iface_Table : constant Interface_Data_Ptr :=
To_Type_Specific_Data_Ptr (Prim_DT.TSD).Interfaces_Table;
begin
-- Save Offset_Value in the table of interfaces of the primary DT.
-- This data will be used by the subprogram "Displace" to give support
-- to backward abstract interface type conversions.
-- Register the offset in the table of interfaces
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = Interface_T then
if Is_Static or else Offset_Value = 0 then
Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top := True;
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Value :=
Offset_Value;
else
Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top := False;
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Func :=
Offset_Func;
end if;
return;
end if;
end loop;
end if;
-- If we arrive here there is some error in the run-time data structure
raise Program_Error;
end Register_Interface_Offset;
------------------
-- Register_Tag --
------------------
procedure Register_Tag (T : Tag) is
begin
External_Tag_HTable.Set (T);
end Register_Tag;
-------------------
-- Secondary_Tag --
-------------------
function Secondary_Tag (T, Iface : Tag) return Tag is
Iface_Table : Interface_Data_Ptr;
Obj_DT : Dispatch_Table_Ptr;
begin
if not Is_Primary_DT (T) then
raise Program_Error;
end if;
Obj_DT := DT (T);
Iface_Table := To_Type_Specific_Data_Ptr (Obj_DT.TSD).Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = Iface then
return Iface_Table.Ifaces_Table (Id).Secondary_DT;
end if;
end loop;
end if;
-- If the object does not implement the interface we must raise CE
raise Constraint_Error with "invalid interface conversion";
end Secondary_Tag;
---------------------
-- Set_Entry_Index --
---------------------
procedure Set_Entry_Index
(T : Tag;
Position : Positive;
Value : Positive)
is
begin
SSD (T).SSD_Table (Position).Index := Value;
end Set_Entry_Index;
-------------------------------
-- Set_Dynamic_Offset_To_Top --
-------------------------------
procedure Set_Dynamic_Offset_To_Top
(This : System.Address;
Prim_T : Tag;
Interface_T : Tag;
Offset_Value : SSE.Storage_Offset;
Offset_Func : Offset_To_Top_Function_Ptr)
is
Sec_Base : System.Address;
Sec_DT : Dispatch_Table_Ptr;
begin
-- Save the offset to top field in the secondary dispatch table
if Offset_Value /= 0 then
Sec_Base := This - Offset_Value;
Sec_DT := DT (To_Tag_Ptr (Sec_Base).all);
Sec_DT.Offset_To_Top := SSE.Storage_Offset'Last;
end if;
Register_Interface_Offset
(Prim_T, Interface_T, False, Offset_Value, Offset_Func);
end Set_Dynamic_Offset_To_Top;
----------------------
-- Set_Prim_Op_Kind --
----------------------
procedure Set_Prim_Op_Kind
(T : Tag;
Position : Positive;
Value : Prim_Op_Kind)
is
begin
SSD (T).SSD_Table (Position).Kind := Value;
end Set_Prim_Op_Kind;
--------------------
-- Unregister_Tag --
--------------------
procedure Unregister_Tag (T : Tag) is
begin
External_Tag_HTable.Remove (Get_External_Tag (T));
end Unregister_Tag;
------------------------
-- Wide_Expanded_Name --
------------------------
WC_Encoding : constant Character;
pragma Import (C, WC_Encoding, "__gl_wc_encoding");
-- Encoding method for source, as exported by binder
function Wide_Expanded_Name (T : Tag) return Wide_String is
S : constant String := Expanded_Name (T);
W : Wide_String (1 .. S'Length);
L : Natural;
begin
String_To_Wide_String
(S, W, L, Get_WC_Encoding_Method (WC_Encoding));
return W (1 .. L);
end Wide_Expanded_Name;
-----------------------------
-- Wide_Wide_Expanded_Name --
-----------------------------
function Wide_Wide_Expanded_Name (T : Tag) return Wide_Wide_String is
S : constant String := Expanded_Name (T);
W : Wide_Wide_String (1 .. S'Length);
L : Natural;
begin
String_To_Wide_Wide_String
(S, W, L, Get_WC_Encoding_Method (WC_Encoding));
return W (1 .. L);
end Wide_Wide_Expanded_Name;
end Ada.Tags;
|
stcarrez/helios | Ada | 1,463 | ads | -----------------------------------------------------------------------
-- helios-monitor-agent -- Helios monitor agent
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
package Helios.Monitor.Agent is
-- Default period to report snapshots (in seconds).
REPORT_PERIOD : constant Natural := 300;
type Runtime_Type is limited record
Timers : Util.Events.Timers.Timer_List;
Report_Period : Ada.Real_Time.Time_Span;
Stop : Boolean := False;
end record;
-- Configure the agent plugins.
procedure Configure (Runtime : in out Runtime_Type;
Config : in Util.Properties.Manager);
-- Run the monitoring agent main loop.
procedure Run (Runtime : in out Runtime_Type);
end Helios.Monitor.Agent;
|
LionelDraghi/smk | Ada | 4,208 | ads | -- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 Lionel Draghi <[email protected]>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-- http://www.apache.org/licenses/LICENSE-2.0
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- -----------------------------------------------------------------------------
with Smk.Files; use Smk.Files;
with Ada.Containers.Doubly_Linked_Lists;
private package Smk.Assertions is
-- --------------------------------------------------------------------------
type Trigger_Type is (No_Trigger,
File_Update,
File_Presence,
File_Absence);
function Trigger_Image (Trigger : Trigger_Type) return String is
(case Trigger is
when No_Trigger => "No trigger ",
when File_Update => "If update ",
when File_Presence => "If presence",
when File_Absence => "If absence ");
Override : constant array (Trigger_Type, Trigger_Type) of Boolean :=
(No_Trigger => (others => False),
File_Update => (No_Trigger => True,
others => False),
File_Presence => (others => True),
File_Absence => (others => True));
type Condition is record
File : Files.File_Type;
Name : Files.File_Name;
Trigger : Trigger_Type;
end record;
-- --------------------------------------------------------------------------
function "=" (L, R : Condition) return Boolean is
(L.Name = R.Name and Role (L.File) = Role (R.File));
-- Equality is based on Name, but we also discriminate Sources from Targets
-- --------------------------------------------------------------------------
function Image (A : Condition;
Prefix : String := "") return String;
-- return an Image of that kind:
-- Prefix & [Pre :file exists]
-- --------------------------------------------------------------------------
package Condition_Lists is
new Ada.Containers.Doubly_Linked_Lists (Condition);
-- NB: "=" redefinition modify Contains (and other operations)
-- --------------------------------------------------------------------------
function Name_Order (Left, Right : Condition) return Boolean is
(Left.Name < Right.Name);
package Name_Sorting is new Condition_Lists.Generic_Sorting (Name_Order);
-- function Time_Order (Left, Right : Condition) return Boolean is
-- (Time_Tag (Left.File) < Time_Tag (Right.File));
-- package Time_Sorting is new Condition_Lists.Generic_Sorting (Time_Order);
-- --------------------------------------------------------------------------
type File_Count is new Natural;
function Count_Image (Count : File_Count) return String;
-- --------------------------------------------------------------------------
function Count (Cond_List : Condition_Lists.List;
Count_Sources : Boolean := False;
Count_Targets : Boolean := False;
With_System_Files : Boolean := False)
return File_Count;
-- --------------------------------------------------------------------------
type Rule_Kind is (Pattern_Rule, Simple_Rule);
-- type Rule (Kind : Rule_Kind) is record
-- when Pattern_Rule =>
-- From : Unbounded_String;
-- To : Unbounded_String;
-- when Simple_Rule =>
-- null;
-- end record;
end Smk.Assertions;
|
godunko/adawebui | Ada | 4,066 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2016-2020, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision: 5682 $ $Date: 2017-01-11 00:55:53 +0300 (Wed, 11 Jan 2017) $
------------------------------------------------------------------------------
package body Web.UI.Events is
-- ------------------
-- -- Accept_Event --
-- ------------------
--
-- procedure Accept_Event (Self : in out Abstract_Event'Class) is
-- begin
-- Self.Event.Prevent_Default;
-- end Accept_Event;
------------------
-- Constructors --
------------------
package body Constructors is
----------------
-- Initialize --
----------------
procedure Initialize
(Self : in out Abstract_Event'Class;
Event : in out Web.DOM.Events.Event'Class) is
begin
Self.Event := Web.DOM.Events.Event (Event);
end Initialize;
end Constructors;
end Web.UI.Events;
|
AdaCore/gpr | Ada | 31,240 | adb | --
-- Copyright (C) 2019-2023, AdaCore
--
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-Exception
--
with Ada.Characters.Handling;
with Ada.Strings.Fixed;
with Ada.Unchecked_Deallocation;
with GNAT.OS_Lib;
with GNATCOLL.OS.Dir;
with GNATCOLL.OS.Stat;
with GPR2.Containers;
with GPR2.Message;
with GPR2.Project.Attribute;
with GPR2.Project.Attribute_Index;
with GPR2.Project.Registry.Attribute;
with GPR2.Project.Registry.Pack;
with GPR2.Project.Tree;
with GPR2.Source_Info.Parser.Registry;
with GPR2.Source_Reference.Value;
package body GPR2.Project.Definition is
use GNAT;
package ACH renames Ada.Characters.Handling;
package ASF renames Ada.Strings.Fixed;
package PRA renames Project.Registry.Attribute;
package PRP renames Project.Registry.Pack;
package SR renames GPR2.Source_Reference;
----------------------------------
-- Check_Aggregate_Library_Dirs --
----------------------------------
procedure Check_Aggregate_Library_Dirs (View : Project.View.Object) is
procedure Process_Aggregate (Proj : Project.View.Object);
-- Recursive procedure to check the aggregated projects, as they may
-- also be aggregated library projects.
-----------------------
-- Process_Aggregate --
-----------------------
procedure Process_Aggregate (Proj : Project.View.Object) is
begin
if Proj.Kind = K_Aggregate_Library then
for V of Get_RO (Proj).Aggregated loop
if V.Kind not in K_Aggregate_Library | K_Configuration
| K_Abstract
and then View.Library_Ali_Directory = V.Object_Directory
then
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => SR.Value.Create
(Filename => View.Path_Name.Value,
Line => 0,
Column => 0,
Text => ""),
Message =>
"aggregate library ALI directory cannot be shared " &
"with object directory of aggregated project """ &
String (V.Path_Name.Base_Name) & """"));
elsif V.Is_Library
and then View.Library_Ali_Directory = V.Library_Directory
then
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => SR.Value.Create
(Filename => View.Path_Name.Value,
Line => 0,
Column => 0,
Text => ""),
Message =>
"aggregate library ALI directory cannot be shared " &
"with library directory of aggregated project """ &
String (V.Path_Name.Base_Name) & """"));
elsif V.Kind not in K_Aggregate_Library | K_Configuration
| K_Abstract
and then View.Library_Directory = V.Object_Directory
then
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => SR.Value.Create
(Filename => View.Path_Name.Value,
Line => 0,
Column => 0,
Text => ""),
Message =>
"aggregate library directory cannot be shared " &
"with object directory of aggregated project """ &
String (V.Path_Name.Base_Name) & """"));
elsif V.Is_Library
and then View.Library_Directory = V.Library_Directory
then
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => SR.Value.Create
(Filename => View.Path_Name.Value,
Line => 0,
Column => 0,
Text => ""),
Message =>
"aggregate library directory cannot be shared " &
"with library directory of aggregated project """ &
String (V.Path_Name.Base_Name) & """"));
end if;
Process_Aggregate (V);
end loop;
end if;
end Process_Aggregate;
begin
Process_Aggregate (View);
end Check_Aggregate_Library_Dirs;
--------------------------------
-- Check_Excluded_Source_Dirs --
--------------------------------
procedure Check_Excluded_Source_Dirs (View : Project.View.Object)
is
function Exists
(View_Path : Path_Name.Object;
Val : Value_Type) return Boolean;
-- Check if Excluded_Source_Dirs attribute value exists on the path.
-- The attribute value is considered as a relative path from the view
-- directory. If there is no match we try to process it as an
-- absolute value and we check the existence of the relative path
-- between the two absolute paths.
------------
-- Exists --
------------
function Exists
(View_Path : Path_Name.Object;
Val : Value_Type) return Boolean
is
Recursive : constant Boolean :=
Val'Length >= 2
and then Val (Val'Last - 1 .. Val'Last) = "**";
Last : constant Natural :=
(if Recursive then Val'Last - 2 else Val'Last);
Dir_Val : constant Value_Type := Val (Val'First .. Last);
begin
if Dir_Val'Length = 0 then
return True;
else
declare
Dir_Name : constant GPR2.Path_Name.Object :=
GPR2.Path_Name.Create_Directory
(Filename_Type (Dir_Val),
View_Path.Name);
Relative_Dir : constant Filename_Type :=
Dir_Name.Relative_Path
(From => View_Path).Name;
begin
return View_Path.Compose (Relative_Dir, True).Exists;
end;
end if;
end Exists;
begin
for V of View.Tree.Ordered_Views loop
if V.Kind in With_Source_Dirs_Kind then
declare
V_Path : constant Path_Name.Object := V.Dir_Name;
Attr : constant Project.Attribute.Object :=
V.Attribute (PRA.Excluded_Source_Dirs);
begin
if Attr.Is_Defined then
for Val of Attr.Values loop
if not Exists (V_Path, Val.Text) then
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => Val,
Message =>
"""" & Val.Text &
""" is not a valid directory"));
end if;
end loop;
end if;
end;
end if;
end loop;
end Check_Excluded_Source_Dirs;
--------------------------
-- Check_Package_Naming --
--------------------------
procedure Check_Package_Naming (View : Project.View.Object) is
procedure Check_View (View : Project.View.Object);
-- Checks in View tree Casing, Dot_Replacement and Suffix attributes
-- values.
----------------
-- Check_View --
----------------
procedure Check_View (View : Project.View.Object) is
package Suffix_Lang_Maps is
new Ada.Containers.Indefinite_Hashed_Maps
(Value_Type, Language_Id, Ada.Strings.Hash, "=");
Suffix_Lang_Map : Suffix_Lang_Maps.Map;
-- key=suffix value; value=first language registering suffix use
-- map used to detect/report multiple use of a suffix.
procedure Log_Error
(Level : Message.Level_Value;
Msg : String;
Attribute : Project.Attribute.Object);
-- log naming package's attribute problem at 'Attribute' source ref
procedure Check_Casing;
-- check casing is in expected range
procedure Check_Dot_Replacement;
-- check dot_replacement is not illegal
use type Project.Attribute.Object;
procedure Check_Illegal_Suffix
(Attribute_Name : Q_Attribute_Id;
Language : Language_Id;
Attribute : Project.Attribute.Object)
with Pre => Attribute /= Project.Attribute.Undefined;
-- check Spec_Suffix, Body_Suffix or Separate_Suffix is not illegal
------------------
-- Check_Casing --
------------------
procedure Check_Casing is
Casing : Project.Attribute.Object;
begin
if View.Check_Attribute (PRA.Naming.Casing, Result => Casing)
and then ACH.To_Lower (Casing.Value.Text) not in
"lowercase" | "uppercase" | "mixedcase"
then
Log_Error (Message.Error, "invalid value for casing", Casing);
end if;
end Check_Casing;
---------------------------
-- Check_Dot_Replacement --
---------------------------
procedure Check_Dot_Replacement is
Dot_Replacement : constant Project.Attribute.Object :=
View.Attribute (PRA.Naming.Dot_Replacement);
Value : constant String :=
Dot_Replacement.Value.Text;
Not_OK : Boolean := False;
subtype Printable_ASCII is Character range '!' .. '~';
begin
-- It must not be empty
-- It cannot start or end with an alphanumeric character
-- It cannot be a single underscore
-- It cannot start with an underscore followed by an alphanumeric
-- It cannot contain a dot '.' unless the entire string is "."
-- It cannot include a space or a char that is not printable ASCII
if ACH.Is_Alphanumeric (Value (Value'First))
or else ACH.Is_Alphanumeric (Value (Value'Last))
or else (Value (Value'First) = '_'
and then (Value'Length = 1
or else ACH.Is_Alphanumeric
(Value (Value'First + 1))))
or else (Value'Length > 1
and then ASF.Index
(Source => Value, Pattern => ".") > 0)
then
Not_OK := True;
else
for J in Value'Range loop
if not (Value (J) in Printable_ASCII) then
Not_OK := True;
exit;
end if;
end loop;
end if;
if Not_OK then
Log_Error
(Message.Error,
"""" & Value & """ is illegal for Dot_Replacement",
Dot_Replacement);
end if;
end Check_Dot_Replacement;
--------------------------
-- Check_Illegal_Suffix --
--------------------------
procedure Check_Illegal_Suffix
(Attribute_Name : Q_Attribute_Id;
Language : Language_Id;
Attribute : Project.Attribute.Object)
is
Value : constant Value_Type := Attribute.Value.Text;
Dot_Repl : constant Value_Type :=
View.Attribute
(PRA.Naming.Dot_Replacement).Value.Text;
begin
if Value /= No_Value and then ASF.Index (Value, ".") = 0 then
Log_Error
(Message.Error,
"""" & Value & """ is illegal for "
& Image (Attribute_Name.Attr) & ": must have a dot",
Attribute);
return;
end if;
-- Case of dot replacement is a single dot, and first character of
-- suffix is also a dot.
if Value'Length /= 0
and then Dot_Repl'Length /= 0
and then Dot_Repl = "."
and then Value (Value'First) = '.'
then
for Index in Value'First + 1 .. Value'Last loop
-- If there are multiple dots in the name
if Value (Index) = '.' then
-- A letter is illegal following the initial dot
if ACH.Is_Letter (Value (Value'First + 1)) then
Log_Error
(Message.Error,
"""" & Value & """ is illegal for "
& Image (Attribute_Name.Attr)
& ": ambiguous prefix when "
& "Dot_Replacement is a dot",
Attribute);
end if;
return;
end if;
end loop;
end if;
-- detect/report multiple use of same suffix.
-- Separate_Suffix = Body_Suffix ("Ada") is allowed.
declare
Associated_Lang : constant Suffix_Lang_Maps.Cursor :=
Suffix_Lang_Map.Find (Value);
Index : constant Attribute_Index.Object :=
Attribute_Index.Create (Ada_Language);
begin
if Suffix_Lang_Maps.Has_Element (Associated_Lang) then
if Suffix_Lang_Maps.Element (Associated_Lang) = Ada_Language
and then Attribute_Name = PRA.Naming.Separate_Suffix
and then View.Has_Attribute
(Name => PRA.Naming.Body_Suffix, Index => Index)
and then View.Attribute
(PRA.Naming.Body_Suffix, Index).Value.Text = Value
then
return;
end if;
if Language = Suffix_Lang_Maps.Element (Associated_Lang) then
Log_Error
(Message.Error,
Image (Attribute_Name.Attr) & " ("
& Image (Language) &
") value already used for this language",
Attribute);
else
Log_Error
(Message.Error,
Image (Attribute_Name.Attr) & " ("
& Image (Language) &
") value is already used for language " &
Image (Suffix_Lang_Maps.Element (Associated_Lang)),
Attribute);
end if;
else
Suffix_Lang_Map.Include (Value, Language);
end if;
end;
end Check_Illegal_Suffix;
---------------
-- Log_Error --
---------------
procedure Log_Error
(Level : Message.Level_Value;
Msg : String;
Attribute : Project.Attribute.Object)
is
begin
View.Tree.Log_Messages.Append
(Message.Create
(Level => Level,
Sloc => Attribute,
Message => Msg));
end Log_Error;
begin
if View.Has_Package (PRP.Naming) then
Check_Casing;
Check_Dot_Replacement;
if View.Kind /= K_Aggregate and then View.Has_Languages then
for L of View.Languages loop
declare
Language : constant Language_Id := +Name_Type (L.Text);
Index : constant Attribute_Index.Object :=
Attribute_Index.Create (Language);
Spec_Suffix : constant Attribute.Object :=
View.Attribute
(PRA.Naming.Spec_Suffix, Index);
Body_Suffix : constant Attribute.Object :=
View.Attribute
(PRA.Naming.Body_Suffix, Index);
begin
if Spec_Suffix.Is_Defined
and then not Spec_Suffix.Is_Default
then
Check_Illegal_Suffix
(PRA.Naming.Spec_Suffix,
Language,
Spec_Suffix);
end if;
if Body_Suffix.Is_Defined
and then not Body_Suffix.Is_Default
then
Check_Illegal_Suffix
(PRA.Naming.Body_Suffix,
Language,
Body_Suffix);
end if;
end;
end loop;
end if;
declare
Sep_Suffix : constant Attribute.Object :=
View.Attribute (PRA.Naming.Separate_Suffix);
begin
if Sep_Suffix.Is_Defined and then not Sep_Suffix.Is_Default then
Check_Illegal_Suffix
(PRA.Naming.Separate_Suffix,
Ada_Language,
Sep_Suffix);
end if;
end;
end if;
end Check_View;
begin
for C in View.Tree.Iterate loop
Check_View (Project.Tree.Element (C));
end loop;
end Check_Package_Naming;
------------------------------
-- Check_Same_Name_Extended --
------------------------------
procedure Check_Same_Name_Extended (View : Project.View.Object) is
procedure Check_View (View : Project.View.Object);
-- Checks in View tree (extended, aggregated, imported) that
-- any extending list contains unique project name.
----------------
-- Check_View --
----------------
procedure Check_View (View : Project.View.Object) is
OK : Boolean;
CN : Containers.Name_Type_Set.Cursor;
Names : Containers.Name_Set;
-- Set of already found extended projects' names
procedure Check_Extending (View : Project.View.Object);
-- If View is extending, checks that extended projects list contains
-- unique project names.
---------------------
-- Check_Extending --
---------------------
procedure Check_Extending (View : Project.View.Object) is
begin
if View.Is_Extending then
Names.Insert (View.Name, CN, OK);
if not OK then
declare
Extending : constant Project.View.Object :=
(if View.Is_Extended
then View.Extending
else View);
begin
View.Tree.Log_Messages.Append
(Message.Create
(Level => Message.Error,
Sloc => SR.Value.Create
(Filename => Extending.Path_Name.Value,
Line => 0,
Column => 0,
Text => ""),
Message =>
"cannot extend a project with the same name"));
end;
end if;
Check_Extending (View.Extended_Root);
end if;
end Check_Extending;
Def : constant Const_Ref := Get_RO (View);
begin
Check_Extending (View);
for V of Def.Imports loop
Check_View (V);
end loop;
for V of Def.Aggregated loop
Check_View (V);
end loop;
end Check_View;
begin
Check_View (View);
end Check_Same_Name_Extended;
-----------------
-- Clear_Cache --
-----------------
procedure Clear_Cache (Def : in out Data)
is
begin
Def.Cache.Clear_Cache;
Def.Dir_Cache := (others => <>);
end Clear_Cache;
-------------------
-- Disable_Cache --
-------------------
procedure Disable_Cache (Def : in out Data)
is
begin
Def.Cache.Disable_Cache;
end Disable_Cache;
------------------
-- Enable_Cache --
------------------
procedure Enable_Cache (Def : in out Data)
is
begin
Def.Cache.Enable_Cache;
end Enable_Cache;
-------------
-- Foreach --
-------------
procedure Foreach
(Base_Dir : Path_Name.Object;
Messages : in out Log.Object;
Directory_Pattern : Filename_Optional;
Source : Source_Reference.Value.Object;
File_CB : access procedure
(File : Path_Name.Object;
Timestamp : Ada.Calendar.Time);
Directory_CB : access procedure
(Directory : Path_Name.Object;
Is_Root_Dir : Boolean;
Do_Dir_Visit : in out Boolean;
Do_Subdir_Visit : in out Boolean) := null)
is
use GNATCOLL.Utils;
use GNATCOLL.OS.Dir;
use GNATCOLL.OS.Stat;
type Walk_State is record
Do_Dir_Visit : Boolean;
Do_Subdir_Visit : Boolean;
Is_Root_Dir : Boolean;
Dir : Path_Name.Object;
Handle : Dir_Handle;
end record;
type Walk_State_List is array (Positive range <>) of Walk_State;
type Walk_State_List_Access is access all Walk_State_List;
procedure Free is new Ada.Unchecked_Deallocation
(Walk_State_List, Walk_State_List_Access);
States : Walk_State_List_Access := new Walk_State_List (1 .. 4);
New_States : Walk_State_List_Access;
Current : Natural := 0;
Dir : constant String :=
(if Directory_Pattern'Length = 0
then "."
else
(if Directory_Pattern = "**"
then "./**"
else String (Directory_Pattern)));
-- Normalize dir part avoiding "" & "**"
Recursive : constant Boolean :=
Dir'Length > 2
and then Dir (Dir'Last - 1 .. Dir'Last) = "**"
and then Is_Directory_Separator (Dir (Dir'Last - 2));
Last : constant Positive :=
Dir'Last - (if Recursive then 2 else 0);
Root_Dir : constant String :=
(if GNAT.OS_Lib.Is_Absolute_Path (Dir)
then Dir (Dir'First .. Last)
else Base_Dir.Compose
(Filename_Optional (Dir (Dir'First .. Last))).Value);
D_Entry : Dir_Entry;
Stat : File_Attributes;
procedure Open_Directory
(Dir : Path_Name.Object;
Is_Root_Dir : Boolean);
-- Open a new directory for walk
--------------------
-- Open_Directory --
--------------------
procedure Open_Directory
(Dir : Path_Name.Object;
Is_Root_Dir : Boolean)
is
begin
if Current >= 512 then
Messages.Append
(Message.Create
(Message.Error,
"directory depth too big for """ &
String (Dir.Name) & """",
Source));
return;
elsif Current = States'Last then
New_States := new Walk_State_List (1 .. 2 * States'Length);
New_States (1 .. States'Length) := States.all;
Free (States);
States := New_States;
end if;
Current := Current + 1;
States (Current) :=
(Handle => <>,
Dir => Dir,
Do_Dir_Visit => File_CB /= null,
Do_Subdir_Visit => Recursive,
Is_Root_Dir => Is_Root_Dir);
if Directory_CB /= null then
Directory_CB
(Dir,
Is_Root_Dir,
States (Current).Do_Dir_Visit,
States (Current).Do_Subdir_Visit);
end if;
if not States (Current).Do_Dir_Visit
and then not States (Current).Do_Subdir_Visit
then
Current := Current - 1;
return;
end if;
begin
States (Current).Handle := Open (String (Dir.Value));
exception
when GNATCOLL.OS.OS_Error =>
Current := Current - 1;
Messages.Append
(Message.Create
(Message.Error,
"""" & String (Dir.Name) &
""" is not a valid directory",
Source));
return;
end;
end Open_Directory;
begin
Open_Directory
(Path_Name.Create_Directory
(Filename_Type (Root_Dir), Path_Name.No_Resolution),
Is_Root_Dir => True);
while Current > 0 loop
begin
if States (Current).Do_Dir_Visit
or else States (Current).Do_Subdir_Visit
then
loop
D_Entry := Read (States (Current).Handle);
exit when End_Of_Iteration (D_Entry);
Stat := Attributes (D_Entry);
if States (Current).Do_Dir_Visit and then Is_File (Stat) then
File_CB
(States (Current).Dir.Compose
(Filename_Type (Name (D_Entry))),
Modification_Time (Stat));
elsif States (Current).Do_Subdir_Visit
and then Is_Directory (Stat)
and then Name (D_Entry) not in "." | ".."
then
Open_Directory
(States (Current).Dir.Compose
(Filename_Type (Name (D_Entry)),
Directory => True),
Is_Root_Dir => False);
end if;
end loop;
end if;
Close (States (Current).Handle);
Current := Current - 1;
exception
when others =>
for C in 1 .. Current loop
Close (States (C).Handle);
end loop;
Free (States);
raise;
end;
end loop;
Free (States);
end Foreach;
-----------------------
-- Is_Sources_Loaded --
-----------------------
function Is_Sources_Loaded (View : Project.View.Object) return Boolean is
begin
return not Get_RO (View).Sources_Map.Is_Empty;
end Is_Sources_Loaded;
-----------------------
-- Source_Map_Insert --
-----------------------
procedure Sources_Map_Insert
(Def : in out Data;
Src : Project.Source.Object;
C : Project.Source.Set.Cursor)
is
Position : Simple_Name_Source.Cursor;
Inserted : Boolean;
begin
Def.Sources_Map.Insert
(Src.Path_Name.Simple_Name, C, Position, Inserted);
end Sources_Map_Insert;
--------------------
-- Update_Sources --
--------------------
procedure Update_Sources
(Def : in out Data;
View : Project.View.Object;
Stop_On_Error : Boolean;
Backends : Source_Info.Backend_Set)
is
begin
Update_Sources_List (Def, View, Stop_On_Error);
Update_Sources_Parse
(Def, Backends);
end Update_Sources;
-------------------------
-- Update_Sources_List --
-------------------------
procedure Update_Sources_List
(Def : in out Data;
View : Project.View.Object;
Stop_On_Error : Boolean) is separate;
--------------------------
-- Update_Sources_Parse --
--------------------------
procedure Update_Sources_Parse
(Def : in out Data; Backends : Source_Info.Backend_Set)
is
use type GPR2.Source_Info.Backend_Set;
Repeat_Map : Simple_Name_Source.Map; -- Second pass for subunits
Position : Simple_Name_Source.Cursor;
Inserted : Boolean;
SW : Project.Source.Object;
begin
Source_Info.Parser.Registry.Clear_Cache;
Def.Units_Map.Clear;
for C in Def.Sources.Iterate loop
SW := Project.Source.Set.Element (C);
-- If the view is extended, we will use the ALI from the extending
-- project. We still need to call SW.Update to disambiguate
-- Spec/Spec_Only and Body/Body_Only units.
SW.Update
(C,
(if not Def.Is_Extended
then Backends
else Source_Info.No_Backends));
if not SW.Is_Parsed (No_Index)
and then not Def.Is_Extended
and then SW.Language = Ada_Language
and then Backends /= Source_Info.No_Backends
then
-- It can be subunit case in runtime krunched source names, need
-- to repeat after all .ali files parsed.
Repeat_Map.Insert
(SW.Path_Name.Simple_Name, C, Position, Inserted);
pragma Assert
(Inserted,
String (SW.Path_Name.Simple_Name) & " subunit duplicated");
end if;
end loop;
for C of Repeat_Map loop
SW := Project.Source.Set.Element (C);
SW.Update (C, Backends);
end loop;
-- Check unit-based interface attributes
if not Def.Interface_Units.Is_Empty then
for C in Def.Interface_Units.Iterate loop
declare
Name : constant Name_Type := Unit_Name_To_Sloc.Key (C);
begin
if not Def.Units_Map.Contains ('S' & To_Lower (Name))
and then not Def.Units_Map.Contains ('B' & To_Lower (Name))
then
Def.Tree.Append_Message
(Message.Create
(Message.Error,
"source for interface unit '" & String (Name)
& "' not found",
Unit_Name_To_Sloc.Element (C)));
end if;
end;
end loop;
end if;
end Update_Sources_Parse;
end GPR2.Project.Definition;
|
reznikmm/matreshka | Ada | 6,941 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Table.Subtotal_Rule_Elements is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Table_Subtotal_Rule_Element_Node is
begin
return Self : Table_Subtotal_Rule_Element_Node do
Matreshka.ODF_Table.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Table_Prefix);
end return;
end Create;
----------------
-- Enter_Node --
----------------
overriding procedure Enter_Node
(Self : not null access Table_Subtotal_Rule_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Enter_Table_Subtotal_Rule
(ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Enter_Node (Visitor, Control);
end if;
end Enter_Node;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Table_Subtotal_Rule_Element_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Subtotal_Rule_Element;
end Get_Local_Name;
----------------
-- Leave_Node --
----------------
overriding procedure Leave_Node
(Self : not null access Table_Subtotal_Rule_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Leave_Table_Subtotal_Rule
(ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Leave_Node (Visitor, Control);
end if;
end Leave_Node;
----------------
-- Visit_Node --
----------------
overriding procedure Visit_Node
(Self : not null access Table_Subtotal_Rule_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then
ODF.DOM.Iterators.Abstract_ODF_Iterator'Class
(Iterator).Visit_Table_Subtotal_Rule
(Visitor,
ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Visit_Node (Iterator, Visitor, Control);
end if;
end Visit_Node;
begin
Matreshka.DOM_Documents.Register_Element
(Matreshka.ODF_String_Constants.Table_URI,
Matreshka.ODF_String_Constants.Subtotal_Rule_Element,
Table_Subtotal_Rule_Element_Node'Tag);
end Matreshka.ODF_Table.Subtotal_Rule_Elements;
|
tum-ei-rcs/StratoX | Ada | 9,341 | adb | with Interfaces; use Interfaces;
with Bounded_Image; use Bounded_Image;
package body Units with SPARK_Mode is
function average( signal : Unit_Array ) return Unit_Type is
function Sat_Add_Unit is new Saturated_Addition (Unit_Type);
avg : Unit_Type := 0.0;
begin
if signal'Length > 0 then
for index in Integer range signal'First .. signal'Last loop
avg := Sat_Add_Unit (avg, signal (index)); -- FIXME: error signaling or precondition for overflow necessary; otherwise this isn't a mathematical average
end loop;
avg := avg / Unit_Type (signal'Length);
end if;
return avg;
end average;
--function wrap_Angle( angle : Angle_Type; min : Angle_Type; max : Angle_Type) return Angle_Type is
-- ( Angle_Type'Remainder( (angle - min - (max-min)/2.0) , (max-min) ) + (max+min)/2.0 );
function wrap_angle (angle : Angle_Type; min : Angle_Type; max : Angle_Type) return Angle_Type is
span : constant Angle_Type := max - min;
d_flt : Float;
d_int : Float;
frac : Float;
less : Angle_Type;
wr : Angle_Type;
off : Angle_Type;
f64 : Interfaces.IEEE_Float_64;
function Sat_Add_Angle is new Saturated_Addition (Angle_Type);
function Sat_Sub_Angle is new Saturated_Subtraction (Angle_Type);
begin
if span = Angle_Type (0.0) then
-- this might happen due to float cancellation, despite precondition
wr := min;
else
pragma Assert (span > Angle_Type (0.0));
if angle >= min and angle <= max then
wr := angle;
elsif angle < min then
off := (min - angle);
-- pragma Assert (span >= 1.0e-3 * Radian);
d_flt := Float (off / span); -- overflow check might fail, if span is really small or if span is really large
d_int := Float'Floor (d_flt);
frac := d_flt - d_int;
f64 := Interfaces.IEEE_Float_64 (frac) * Interfaces.IEEE_Float_64 (span);
--pragma Assert (f64 >= 0.0);
if f64 < Interfaces.IEEE_Float_64 (Angle_Type'Last) and f64 >= Interfaces.IEEE_Float_64 (Angle_Type'First) then
less := Angle_Type (f64); -- overflow check might fail
wr := Sat_Sub_Angle (max, less);
else
wr := min;
end if;
else -- angle > max
off := angle - max;
d_flt := Float (off / span); -- overflow check might fail
d_int := Float'Floor (d_flt);
frac := d_flt - d_int;
pragma Assert (frac >= 0.0);
f64 := Interfaces.IEEE_Float_64 (frac) * Interfaces.IEEE_Float_64 (span);
--pragma Assert (f64 >= 0.0); -- this fails. why? both span and frac are positive
if f64 > Interfaces.IEEE_Float_64 (Angle_Type'First) and f64 < Interfaces.IEEE_Float_64 (Angle_Type'Last) then
less := Angle_Type (f64);
wr := Sat_Add_Angle (min, less);
else
wr := max;
end if;
end if;
end if;
return wr;
end wrap_angle;
function mirror_Angle( angle : Angle_Type; min : Angle_Type; max : Angle_Type) return Angle_Type is
span : constant Angle_Type := max - min;
cmax : constant Angle_Type := max + span / 2.0;
cmin : constant Angle_Type := min - span / 2.0;
-- limit to the ranges of wrap_angle's preconditions
amax : constant Angle_Type := Angle_Type (if cmax < Angle_Type'Last / 2.0 then cmax else Angle_Type'Last / 2.0);
amin : constant Angle_Type := Angle_Type (if cmin > Angle_Type'First / 2.0 then cmin else Angle_Type'First / 2.0);
--pragma Assert (amin <= 0.0 * Radian);
--pragma Assert (amax >= 0.0 * Radian);
--pragma Assert (max > min);
--pragma Assert (amin >= Angle_Type'First / 2.0);
--pragma Assert (amax <= Angle_Type'Last / 2.0);
wrapped : Angle_Type := wrap_angle (angle => angle, min => amin, max => amax);
result : Angle_Type := wrapped;
begin
if wrapped > max then
result := max - (wrapped - max);
elsif wrapped < min then
result := min - (wrapped - min);
end if;
return result;
end mirror_Angle;
function delta_Angle (From : Angle_Type; To : Angle_Type) return Angle_Type is
function Sat_Sub_Flt is new Saturated_Subtraction (Float);
diff : constant Float := Sat_Sub_Flt (Float (To), Float (From));
begin
return wrap_angle (angle => Angle_Type (diff), min => -180.0 * Degree, max => 180.0 * Degree);
end delta_Angle;
function Image (unit : Unit_Type) return String is
first : constant Float := Float'Truncation (Float (unit));
rest : constant String := Integer_Img (Integer ((Float (unit) - first) * Float(10.0)));
begin
if Float ( unit ) < 0.0 and -1.0 < Float ( unit ) then
return "-" & Integer_Img (Types.Sat_Cast_Int (first)) & "." & rest (rest'Length);
else
return Integer_Img (Types.Sat_Cast_Int (first)) & "." & rest (rest'Length);
end if;
end Image;
function AImage (unit : Angle_Type) return String is
begin
return Integer_Img (Types.Sat_Cast_Int (Float (unit) / Ada.Numerics.Pi * Float(180.0))) & "deg";
end AImage;
function RImage (unit : Angle_Type) return String is
begin
return " " & Image (Unit_Type(unit)) & "rad";
end RImage;
function Saturated_Cast (val : Float) return T is
ret : T;
begin
if val >= Float (T'Last) then
ret := T'Last;
elsif val <= Float (T'First) then
ret := T'First;
else
ret := T (val);
end if;
return ret;
end Saturated_Cast;
function Saturated_Addition (left, right : T) return T is
ret : T;
begin
if right >= T (0.0) and then left >= (T'Last - right) then
ret := T'Last;
elsif right <= T (0.0) and then left <= (T'First - right) then
ret := T'First;
else
declare
cand : constant Float := Float (left) + Float (right); -- this needs to be constant and not a direct assignment to ret
begin
-- range check
if cand > Float (T'Last) then
ret := T'Last;
elsif cand < Float (T'First) then
ret := T'First;
else
ret := T (cand);
end if;
end;
end if;
return ret;
end Saturated_Addition;
function Saturated_Subtraction (left, right : T) return T is
ret : T;
begin
if right >= T (0.0) and then (right + T'First) >= left then
ret := T'First;
elsif right <= T (0.0) and then left >= (T'Last + right) then
ret := T'Last;
else
declare
cand : constant T := left - right; -- this needs to be constant and not a direct assignment to ret
begin
ret := cand;
end;
end if;
return ret;
end Saturated_Subtraction;
function Wrapped_Addition (left, right : T) return T is
cand : constant Float := Float (left) + Float (right);
min : constant T := T'First;
max : constant T := T'Last;
span : constant Float := Float (max - min);
d_flt : Float;
d_int : Float;
frac : Float;
less : T;
off : Float;
f64 : Interfaces.IEEE_Float_64;
wr : T;
begin
if span = 0.0 then
-- this might happen due to float cancellation, despite precondition
wr := min;
else
pragma Assert (span > 0.0);
if cand >= Float (min) and cand <= Float (max) then
wr := T (cand);
elsif cand < Float (min) then
off := (Float (min) - cand);
d_flt := Float (off / span); -- overflow check might fail
d_int := Float'Floor (d_flt);
frac := Float (d_flt - d_int);
f64 := Interfaces.IEEE_Float_64 (frac) * Interfaces.IEEE_Float_64 (span);
--pragma Assert (f64 >= 0.0);
if f64 < Interfaces.IEEE_Float_64 (T'Last) and f64 >= Interfaces.IEEE_Float_64 (T'First) then
less := T (f64); -- overflow check might fail
wr := max - less;
else
wr := min;
end if;
else -- cand > max
off := cand - Float (max);
d_flt := Float (off / span); -- overflow check might fail
d_int := Float'Floor (d_flt);
frac := Float (d_flt - d_int);
pragma Assert (frac >= 0.0);
f64 := Interfaces.IEEE_Float_64 (frac) * Interfaces.IEEE_Float_64 (span);
--pragma Assert (f64 >= 0.0); -- this fails. why? both span and frac are positive
if f64 > Interfaces.IEEE_Float_64 (T'First) and f64 < Interfaces.IEEE_Float_64 (T'Last) then
less := T (f64);
wr := min + less;
else
wr := max;
end if;
end if;
end if;
return wr;
end Wrapped_Addition;
function Saturate (val, min, max : T) return T is
ret : T;
begin
if val < min then
ret := min;
elsif val > max then
ret := max;
else
ret := val;
end if;
return ret;
end Saturate;
end Units;
|
reznikmm/matreshka | Ada | 4,829 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Visitors;
with ODF.DOM.Table_Cell_Content_Change_Elements;
package Matreshka.ODF_Table.Cell_Content_Change_Elements is
type Table_Cell_Content_Change_Element_Node is
new Matreshka.ODF_Table.Abstract_Table_Element_Node
and ODF.DOM.Table_Cell_Content_Change_Elements.ODF_Table_Cell_Content_Change
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Table_Cell_Content_Change_Element_Node;
overriding function Get_Local_Name
(Self : not null access constant Table_Cell_Content_Change_Element_Node)
return League.Strings.Universal_String;
overriding procedure Enter_Node
(Self : not null access Table_Cell_Content_Change_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Leave_Node
(Self : not null access Table_Cell_Content_Change_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Visit_Node
(Self : not null access Table_Cell_Content_Change_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
end Matreshka.ODF_Table.Cell_Content_Change_Elements;
|
AdaCore/training_material | Ada | 1,547 | ads | with Ada.Strings.Unbounded;
with Surfaces; use Surfaces;
package Movies is
subtype Frame_T is Positive;
-- Position of a frame in a movie
type Resolution_T is record
Rows : Row_T;
Columns : Column_T;
end record;
-- Resolution of a movie
type Movie_T is private;
-- A movie is an ordered set of frames that are to be displayed in sequence
-- On the file-system, movies are stored as directory that will contain
-- several BMP called "XXX_0.bmp", "XXX_1.bmp"... where XXX can change
Null_Movie : constant Movie_T;
function Resolution (M : Movie_T) return Resolution_T;
function File_Name (M : Movie_T) return String;
-- Return the name of the movie's directory
function Load_From (Path : String) return Movie_T;
-- Load a movie from the given directory
function Frames_Number (M : Movie_T) return Frame_T;
-- Number of frames available in the given movie
function Frame (M : Movie_T; F : Frame_T) return Surface_T
with Pre => F <= Frames_Number (M);
-- Pixel information for the given movie frame
private
type Movie_T is record
Path : Ada.Strings.Unbounded.Unbounded_String;
Resolution : Resolution_T;
end record;
function Resolution (M : Movie_T) return Resolution_T is (M.Resolution);
function File_Name (M : Movie_T) return String
is (Ada.Strings.Unbounded.To_String (M.Path));
Null_Movie : constant Movie_T
:= (Ada.Strings.Unbounded.Null_Unbounded_String,
(Row_T'First, Column_T'First));
end Movies;
|
apple-oss-distributions/old_ncurses | Ada | 8,405 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- Terminal_Interface.Curses.Mouse --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer <[email protected]> 1996
-- Version Control:
-- $Revision: 1.1.1.1 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with System;
with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
with Interfaces.C; use Interfaces.C;
use Interfaces;
package body Terminal_Interface.Curses.Mouse is
use type System.Bit_Order;
use type Interfaces.C.int;
function Has_Mouse return Boolean
is
function Mouse_Avail return C_Int;
pragma Import (C, Mouse_Avail, "_nc_has_mouse");
begin
if Has_Key (Key_Mouse) or else Mouse_Avail /= 0 then
return True;
else
return False;
end if;
end Has_Mouse;
function Get_Mouse return Mouse_Event
is
type Event_Access is access all Mouse_Event;
function Getmouse (Ev : Event_Access) return C_Int;
pragma Import (C, Getmouse, "getmouse");
Event : aliased Mouse_Event;
begin
if Getmouse (Event'Access) = Curses_Err then
raise Curses_Exception;
end if;
return Event;
end Get_Mouse;
procedure Register_Reportable_Event (Button : in Mouse_Button;
State : in Button_State;
Mask : in out Event_Mask)
is
Button_Nr : constant Natural := Mouse_Button'Pos (Button);
State_Nr : constant Natural := Button_State'Pos (State);
begin
if Button in Modifier_Keys and then State /= Pressed then
raise Curses_Exception;
else
if Button in Real_Buttons then
Mask := Mask or ((2 ** (6 * Button_Nr)) ** State_Nr);
else
Mask := Mask or (BUTTON_CTRL ** (Button_Nr - 4));
end if;
end if;
end Register_Reportable_Event;
procedure Register_Reportable_Events (Button : in Mouse_Button;
State : in Button_States;
Mask : in out Event_Mask)
is
begin
for S in Button_States'Range loop
if State (S) then
Register_Reportable_Event (Button, S, Mask);
end if;
end loop;
end Register_Reportable_Events;
function Start_Mouse (Mask : Event_Mask := All_Events)
return Event_Mask
is
function MMask (M : Event_Mask;
O : access Event_Mask) return Event_Mask;
pragma Import (C, MMask, "mousemask");
R : Event_Mask;
Old : aliased Event_Mask;
begin
R := MMask (Mask, Old'Access);
return Old;
end Start_Mouse;
procedure End_Mouse (Mask : in Event_Mask := No_Events)
is
begin
null;
end End_Mouse;
procedure Dispatch_Event (Mask : in Event_Mask;
Button : out Mouse_Button;
State : out Button_State);
procedure Dispatch_Event (Mask : in Event_Mask;
Button : out Mouse_Button;
State : out Button_State) is
L : Event_Mask;
begin
Button := Alt; -- preset to non real button;
if (Mask and BUTTON1_EVENTS) /= 0 then
Button := Left;
elsif (Mask and BUTTON2_EVENTS) /= 0 then
Button := Middle;
elsif (Mask and BUTTON3_EVENTS) /= 0 then
Button := Right;
elsif (Mask and BUTTON4_EVENTS) /= 0 then
Button := Button4;
end if;
if Button in Real_Buttons then
L := 2 ** (6 * Mouse_Button'Pos (Button));
for I in Button_State'Range loop
if (Mask and L) /= 0 then
State := I;
exit;
end if;
L := 2 * L;
end loop;
else
State := Pressed;
if (Mask and BUTTON_CTRL) /= 0 then
Button := Control;
elsif (Mask and BUTTON_SHIFT) /= 0 then
Button := Shift;
elsif (Mask and BUTTON_ALT) /= 0 then
Button := Alt;
end if;
end if;
end Dispatch_Event;
procedure Get_Event (Event : in Mouse_Event;
Y : out Line_Position;
X : out Column_Position;
Button : out Mouse_Button;
State : out Button_State)
is
Mask : constant Event_Mask := Event.Bstate;
begin
X := Column_Position (Event.X);
Y := Line_Position (Event.Y);
Dispatch_Event (Mask, Button, State);
end Get_Event;
procedure Unget_Mouse (Event : in Mouse_Event)
is
function Ungetmouse (Ev : Mouse_Event) return C_Int;
pragma Import (C, Ungetmouse, "ungetmouse");
begin
if Ungetmouse (Event) = Curses_Err then
raise Curses_Exception;
end if;
end Unget_Mouse;
function Enclosed_In_Window (Win : Window := Standard_Window;
Event : Mouse_Event) return Boolean
is
function Wenclose (Win : Window; Y : C_Int; X : C_Int)
return Curses_Bool;
pragma Import (C, Wenclose, "wenclose");
begin
if Wenclose (Win, C_Int (Event.Y), C_Int (Event.X))
= Curses_Bool_False then
return False;
else
return True;
end if;
end Enclosed_In_Window;
function Mouse_Interval (Msec : Natural := 200) return Natural
is
function Mouseinterval (Msec : C_Int) return C_Int;
pragma Import (C, Mouseinterval, "mouseinterval");
begin
return Natural (Mouseinterval (C_Int (Msec)));
end Mouse_Interval;
end Terminal_Interface.Curses.Mouse;
|
reznikmm/matreshka | Ada | 3,675 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Attributes.Style.Font_Name_Complex is
type ODF_Style_Font_Name_Complex is
new XML.DOM.Attributes.DOM_Attribute with private;
private
type ODF_Style_Font_Name_Complex is
new XML.DOM.Attributes.DOM_Attribute with null record;
end ODF.DOM.Attributes.Style.Font_Name_Complex;
|
msrLi/portingSources | Ada | 978 | ads | -- Copyright 2014 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
with System;
package Pck is
type Element is abstract tagged null record;
type GADataType is interface;
type Data_Type is new Element and GADataType with record
I : Integer := 42;
end record;
procedure Do_Nothing (A : System.Address);
end Pck;
|
reznikmm/matreshka | Ada | 10,873 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
package body WSDL.Assertions is
WSDL_Assertion_Message :
constant array (WSDL_Assertion) of League.Strings.Universal_String
:= (Description_1001 =>
League.Strings.To_Universal_String ("not supported"),
Description_1002 =>
League.Strings.To_Universal_String ("not supported"),
Description_1003 =>
League.Strings.To_Universal_String ("not supported"),
Description_1004 =>
League.Strings.To_Universal_String ("not supported"),
Description_1005 =>
League.Strings.To_Universal_String
("invalid order of children elements of wsdl:decription element"),
Description_1006 =>
League.Strings.To_Universal_String ("not supported"),
Types_1007 =>
League.Strings.To_Universal_String ("not supported"),
Types_1008 =>
League.Strings.To_Universal_String ("not supported"),
Interface_1009 =>
League.Strings.To_Universal_String ("not supported"),
Interface_1010 =>
League.Strings.To_Universal_String
("name of the interface component must be unique"),
Interface_1011 =>
League.Strings.To_Universal_String
("list of extended interfaces must not contain duplicates"),
Interface_1012 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceFault_1013 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceFault_1014 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceFault_1015 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceFault_1016 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceFault_1017 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceOperation_1018 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceOperation_1019 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceOperation_1020 =>
League.Strings.To_Universal_String ("not supported"),
InterfaceOperation_1021 =>
League.Strings.To_Universal_String ("not supported"),
MEP_1022 =>
League.Strings.To_Universal_String ("MEP is not supported"),
InterfaceOperation_1023 =>
League.Strings.To_Universal_String ("not supported"),
MessageLabel_1024 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceMessageReference_1025 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceMessageReference_1026 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceMessageReference_1027 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceMessageReference_1028 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceMessageReference_1029 =>
League.Strings.To_Universal_String
("effective message label must be unique"),
MessageLabel_1030 =>
League.Strings.To_Universal_String
("no such placeholder message defined by the MEP"),
MessageLabel_1031 =>
League.Strings.To_Universal_String
("MEP has more than one placeholder message in this direction,"
& " message label must be specified"),
MessageLabel_1032 =>
League.Strings.To_Universal_String
("MEP doesn't have placeholder message with direction ""In"""),
MessageLabel_1033 =>
League.Strings.To_Universal_String
("MEP doesn't have placeholder message with direction ""Out"""),
MessageLabel_1034 =>
League.Strings.To_Universal_String
("MEP doesn't support fault in the ""In"" direction"),
MessageLabel_1035 =>
League.Strings.To_Universal_String
("MEP doesn't support fault in then ""Out"" direction"),
InterfaceFaultReference_1037 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceFaultReference_1038 =>
League.Strings.To_Universal_String ("enforced by construction"),
InterfaceFaultReference_1039 =>
League.Strings.To_Universal_String
("combination of its interface fault and message label must be"
& " unique"),
InterfaceFaultReference_1040 =>
League.Strings.To_Universal_String
("MEP has more than one fault in this direction, message label"
& " must be specified"),
MessageLabel_1041 =>
League.Strings.To_Universal_String
("MEP has more than one placeholder message in this direction,"
& " message label must be specified"),
MessageLabel_1042 =>
League.Strings.To_Universal_String
("no such placeholder message defined by the MEP"),
MessageLabel_1043 =>
League.Strings.To_Universal_String
("MEP doesn't have placeholder message with this direction"),
Binding_1044 =>
League.Strings.To_Universal_String
("interface must be specified for binding when it specify"
& " operation or fault binding details"),
Binding_1045 =>
League.Strings.To_Universal_String ("not supported"),
Binding_1046 =>
League.Strings.To_Universal_String ("not supported"),
Binding_1047 =>
League.Strings.To_Universal_String ("not supported"),
Binding_1048 =>
League.Strings.To_Universal_String ("not supported"),
Binding_1049 =>
League.Strings.To_Universal_String
("name of binding component must be unique"),
BindingFault_1050 =>
League.Strings.To_Universal_String
("duplicate specification of binding details for interface"
& " fault"),
BindingOperation_1051 =>
League.Strings.To_Universal_String
("duplicate specification of binding details for interface"
& " operation"));
------------
-- Report --
------------
procedure Report
(File : League.Strings.Universal_String;
Line : WSDL.Diagnoses.Line_Number;
Column : WSDL.Diagnoses.Column_Number;
Assertion : WSDL_Assertion) is
begin
WSDL.Diagnoses.Report
(File, Line, Column, WSDL_Assertion_Message (Assertion));
end Report;
end WSDL.Assertions;
|
micahwelf/FLTK-Ada | Ada | 10,903 | ads |
with
Ada.Finalization;
private with
Interfaces.C,
System;
package FLTK is
-- Ugly implementation detail, never use this.
-- This is necessary so things like Text_Buffers and
-- Widgets can talk to each other behind the binding.
type Wrapper is new Ada.Finalization.Limited_Controlled with private;
-- with Type_Invariant => Is_Valid (Wrapper);
function Is_Valid
(Object : in Wrapper)
return Boolean;
type Color is new Natural;
type Color_Component is mod 256;
No_Color : constant Color;
type Alignment is private;
Align_Center : constant Alignment;
Align_Top : constant Alignment;
Align_Bottom : constant Alignment;
Align_Left : constant Alignment;
Align_Right : constant Alignment;
type Keypress is private;
subtype Pressable_Key is Character range Character'Val (32) .. Character'Val (126);
function Press (Key : in Pressable_Key) return Keypress;
Enter_Key : constant Keypress;
Keypad_Enter_Key : constant Keypress;
Backspace_Key : constant Keypress;
Insert_Key : constant Keypress;
Delete_Key : constant Keypress;
Home_Key : constant Keypress;
End_Key : constant Keypress;
Page_Down_Key : constant Keypress;
Page_Up_Key : constant Keypress;
Down_Key : constant Keypress;
Left_Key : constant Keypress;
Right_Key : constant Keypress;
Up_Key : constant Keypress;
Escape_Key : constant Keypress;
type Mouse_Button is (No_Button, Left_Button, Middle_Button, Right_Button);
type Key_Combo is private;
function Press (Key : in Pressable_Key) return Key_Combo;
function Press (Key : in Keypress) return Key_Combo;
function Press (Key : in Mouse_Button) return Key_Combo;
No_Key : constant Key_Combo;
type Modifier is private;
function "+" (Left, Right : in Modifier) return Modifier;
function "+" (Left : in Modifier; Right : in Pressable_Key) return Key_Combo;
function "+" (Left : in Modifier; Right : in Keypress) return Key_Combo;
function "+" (Left : in Modifier; Right : in Mouse_Button) return Key_Combo;
function "+" (Left : in Modifier; Right : in Key_Combo) return Key_Combo;
Mod_None : constant Modifier;
Mod_Shift : constant Modifier;
Mod_Ctrl : constant Modifier;
Mod_Alt : constant Modifier;
type Box_Kind is
(No_Box,
Flat_Box,
Up_Box,
Down_Box,
Up_Frame,
Down_Frame,
Thin_Up_Box,
Thin_Down_Box,
Thin_Up_Frame,
Thin_Down_Frame,
Engraved_Box,
Embossed_Box,
Engraved_Frame,
Embossed_Frame,
Border_Box,
Shadow_Box,
Border_Frame,
Shadow_Frame,
Rounded_Box,
RShadow_Box,
Rounded_Frame,
RFlat_Box,
Round_Up_Box,
Round_Down_Box,
Diamond_Up_Box,
Diamond_Down_Box,
Oval_Box,
OShadow_Box,
Oval_Frame,
OFlat_Box,
Plastic_Up_Box,
Plastic_Down_Box,
Plastic_Up_Frame,
Plastic_Down_Frame,
Plastic_Thin_Up_Box,
Plastic_Thin_Down_Box,
Plastic_Round_Up_Box,
Plastic_Round_Down_Box,
Gtk_Up_Box,
Gtk_Down_Box,
Gtk_Up_Frame,
Gtk_Down_Frame,
Gtk_Thin_Up_Box,
Gtk_Thin_Down_Box,
Gtk_Thin_Up_Frame,
Gtk_Thin_Down_Frame,
Gtk_Round_Up_Box,
Gtk_Round_Down_Box,
Gleam_Up_Box,
Gleam_Down_Box,
Gleam_Up_Frame,
Gleam_Down_Frame,
Gleam_Thin_Up_Box,
Gleam_Thin_Down_Box,
Gleam_Round_Up_Box,
Gleam_Round_Down_Box,
Free_Box);
type Font_Kind is
(Helvetica,
Helvetica_Bold,
Helvetica_Italic,
Helvetica_Bold_Italic,
Courier,
Courier_Bold,
Courier_Italic,
Courier_Bold_Italic,
Times,
Times_Bold,
Times_Italic,
Times_Bold_Italic,
Symbol,
Monospace,
Monospace_Bold,
Zapf_Dingbats,
Free_Font);
type Font_Size is new Natural;
Normal_Size : constant Font_Size := 14;
type Font_Size_Array is array (Positive range <>) of Font_Size;
type Label_Kind is
(Normal_Label,
No_Label,
Shadow_Label,
Engraved_Label,
Embossed_Label,
Multi_Label,
Icon_Label,
Image_Label,
Free_Label);
type Event_Kind is
(No_Event,
Push,
Release,
Enter,
Leave,
Drag,
Focus,
Unfocus,
Keydown,
Keyup,
Close,
Move,
Shortcut,
Deactivate,
Activate,
Hide,
Show,
Paste,
Selection_Clear,
Mouse_Wheel,
DnD_Enter,
DnD_Drag,
DnD_Leave,
DnD_Release,
Screen_Config_Changed,
Fullscreen);
type Event_Outcome is (Not_Handled, Handled);
type Menu_Flag is private;
function "+" (Left, Right : in Menu_Flag) return Menu_Flag;
Flag_Normal : constant Menu_Flag;
Flag_Inactive : constant Menu_Flag;
Flag_Toggle : constant Menu_Flag;
Flag_Value : constant Menu_Flag;
Flag_Radio : constant Menu_Flag;
Flag_Invisible : constant Menu_Flag;
Flag_Submenu : constant Menu_Flag;
Flag_Divider : constant Menu_Flag;
type Version_Number is new Natural;
function ABI_Check
(ABI_Ver : in Version_Number)
return Boolean;
function ABI_Version
return Version_Number;
function API_Version
return Version_Number;
function Version
return Version_Number;
procedure Awake;
procedure Lock;
procedure Unlock;
function Is_Damaged
return Boolean;
procedure Set_Damaged
(To : in Boolean);
procedure Flush;
procedure Redraw;
function Check
return Boolean;
function Ready
return Boolean;
function Wait
return Integer;
function Wait
(Seconds : in Long_Float)
return Integer;
function Run
return Integer;
private
pragma Linker_Options ("-lfltk");
pragma Linker_Options ("-lfltk_images");
type Wrapper is new Ada.Finalization.Limited_Controlled with
record
Void_Ptr : System.Address;
Needs_Dealloc : Boolean := True;
end record;
overriding procedure Initialize
(This : in out Wrapper);
No_Color : constant Color := 0;
type Alignment is new Interfaces.Unsigned_16;
Align_Center : constant Alignment := 0;
Align_Top : constant Alignment := 1;
Align_Bottom : constant Alignment := 2;
Align_Left : constant Alignment := 4;
Align_Right : constant Alignment := 8;
type Keypress is new Interfaces.Unsigned_16;
type Modifier is new Interfaces.Unsigned_16;
type Key_Combo is
record
Modcode : Modifier;
Keycode : Keypress;
Mousecode : Mouse_Button;
end record;
function To_C
(Key : in Key_Combo)
return Interfaces.C.unsigned_long;
function To_Ada
(Key : in Interfaces.C.unsigned_long)
return Key_Combo;
function To_C
(Key : in Keypress)
return Interfaces.C.unsigned_long;
function To_Ada
(Key : in Interfaces.C.unsigned_long)
return Keypress;
function To_C
(Modi : in Modifier)
return Interfaces.C.unsigned_long;
function To_Ada
(Modi : in Interfaces.C.unsigned_long)
return Modifier;
function To_C
(Button : in Mouse_Button)
return Interfaces.C.unsigned_long;
function To_Ada
(Button : in Interfaces.C.unsigned_long)
return Mouse_Button;
-- these values designed to align with FLTK enumeration types
Mod_None : constant Modifier := 2#00000000#;
Mod_Shift : constant Modifier := 2#00000001#;
Mod_Ctrl : constant Modifier := 2#00000100#;
Mod_Alt : constant Modifier := 2#00001000#;
No_Key : constant Key_Combo := (Modcode => Mod_None, Keycode => 0, Mousecode => No_Button);
-- these values correspond to constants defined in FLTK Enumerations.H
Enter_Key : constant Keypress := 16#ff0d#;
Keypad_Enter_Key : constant Keypress := 16#ff8d#;
Backspace_Key : constant Keypress := 16#ff08#;
Insert_Key : constant Keypress := 16#ff63#;
Delete_Key : constant Keypress := 16#ffff#;
Home_Key : constant Keypress := 16#ff50#;
End_Key : constant Keypress := 16#ff57#;
Page_Down_Key : constant Keypress := 16#ff56#;
Page_Up_Key : constant Keypress := 16#ff55#;
Down_Key : constant Keypress := 16#ff54#;
Left_Key : constant Keypress := 16#ff51#;
Right_Key : constant Keypress := 16#ff53#;
Up_Key : constant Keypress := 16#ff52#;
Escape_Key : constant Keypress := 16#ff1b#;
type Menu_Flag is new Interfaces.Unsigned_8;
Flag_Normal : constant Menu_Flag := 2#00000000#;
Flag_Inactive : constant Menu_Flag := 2#00000001#;
Flag_Toggle : constant Menu_Flag := 2#00000010#;
Flag_Value : constant Menu_Flag := 2#00000100#;
Flag_Radio : constant Menu_Flag := 2#00001000#;
Flag_Invisible : constant Menu_Flag := 2#00010000#;
-- Flag_Submenu_Pointer unlikely to be used
Flag_Submenu : constant Menu_Flag := 2#01000000#;
Flag_Divider : constant Menu_Flag := 2#10000000#;
pragma Import (C, Awake, "fl_awake");
pragma Import (C, Lock, "fl_lock");
pragma Import (C, Unlock, "fl_unlock");
pragma Import (C, Flush, "fl_flush");
pragma Import (C, Redraw, "fl_redraw");
pragma Inline (ABI_Check);
pragma Inline (ABI_Version);
pragma Inline (API_Version);
pragma Inline (Version);
pragma Inline (Awake);
pragma Inline (Lock);
pragma Inline (Unlock);
pragma Inline (Is_Damaged);
pragma Inline (Set_Damaged);
pragma Inline (Flush);
pragma Inline (Redraw);
pragma Inline (Check);
pragma Inline (Ready);
pragma Inline (Wait);
pragma Inline (Run);
end FLTK;
|
zhmu/ananas | Ada | 199 | adb | -- { dg-do compile }
package body Global2 is
procedure Change_X is
begin
X.all := 1;
end Change_X;
procedure Change2_X is
begin
X.all := 1;
end Change2_X;
end Global2; |
reznikmm/matreshka | Ada | 5,288 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2017, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
package body Core.Connectables.Slots_0.Slots_1.Generic_Emitters is
-------------
-- Connect --
-------------
overriding procedure Connect
(Self : in out Emitter;
Slot : Slots_0.Slot'Class)
is
Slot_End : Slot_End_Access := Slot.Create_Slot_End;
Signal_End : Signal_End_Access
:= new Signal_End_0 (Self'Unchecked_Access);
begin
Slot_End.Attach;
Signal_End.Attach;
Signal_End.Slot_End := Slot_End;
end Connect;
-------------
-- Connect --
-------------
overriding procedure Connect
(Self : in out Emitter;
Slot : Slots_1.Slot'Class)
is
Slot_End : Slot_End_Access := Slot.Create_Slot_End;
Signal_End : Signal_End_Access
:= new Signal_End_1 (Self'Unchecked_Access);
begin
Slot_End.Attach;
Signal_End.Attach;
Signal_End.Slot_End := Slot_End;
end Connect;
----------
-- Emit --
----------
procedure Emit
(Self : in out Emitter'Class;
Parameter_1 : Parameter_1_Type)
is
Current : Signal_End_Access := Self.Head;
begin
while Current /= null loop
begin
Signal_End'Class (Current.all).Invoke (Parameter_1);
exception
when others =>
null;
end;
Current := Current.Next;
end loop;
end Emit;
------------
-- Invoke --
------------
overriding procedure Invoke
(Self : in out Signal_End_0;
Parameter_1 : Parameter_1_Type)
is
pragma Unreferenced (Parameter_1);
begin
Slot_End_0'Class (Self.Slot_End.all).Invoke;
end Invoke;
------------
-- Invoke --
------------
overriding procedure Invoke
(Self : in out Signal_End_1;
Parameter_1 : Parameter_1_Type) is
begin
Slot_End_1'Class (Self.Slot_End.all).Invoke (Parameter_1);
end Invoke;
end Core.Connectables.Slots_0.Slots_1.Generic_Emitters;
|
M1nified/Ada-Samples | Ada | 1,409 | adb | with Ada.Text_Io;
use Ada.Text_Io;
package body PMap is
task body pmap_apply is
value : Integer;
Func : func_type;
begin
accept PortIn(ValIn : in Integer; FuncIn : in not null func_type) do
value := ValIn;
Func := FuncIn;
end PortIn;
value := Func(value);
Put_Line(Integer'Image(value));
accept PortOut(ValOut : out Integer) do
ValOut := value;
end PortOut;
end pmap_apply;
task body pmap_task is
List, List_modified : vector_ptr;
Func : func_type;
Kids : pmap_applies_access;
val : Integer;
begin
accept PortIn(ValIn : in vector_ptr; FuncIn : in not null func_type) do
List := ValIn;
Func := FuncIn;
end PortIn;
--Put_Line(Integer'Image(List'Length));
List_modified := new vector(List'range);
Kids := new pmap_applies(List'range);
for i in List'range loop
Kids(i).PortIn(List(i), Func);
end loop;
for i in List'range loop
Kids(i).PortOut(val);
List_modified(i) := val;
--Put_Line(Integer'Image(val));
end loop;
accept PortOut(ValOut : out vector_ptr) do
ValOut := List_modified;
end PortOut;
end pmap_task;
function example1 (X : in Integer) return Integer is
begin
return x + 10;
end example1;
function pmap (List : in vector_ptr) return vector_ptr is
task1 : pmap_task;
output : vector_ptr;
begin
task1.PortIn(List, example1'Access);
task1.PortOut(output);
return(output);
end pmap;
end PMap; |
reznikmm/matreshka | Ada | 3,422 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- XML Processor --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
package Matreshka.XML_Catalogs is
pragma Pure;
end Matreshka.XML_Catalogs;
|
reznikmm/matreshka | Ada | 1,533 | adb | with Ada.Wide_Wide_Text_IO;
with League.Application;
with League.Directories;
with League.String_Vectors;
with League.Files;
with Matreshka.Zip_File_System_Engines;
procedure Main_Dir is
procedure List
(Directory : League.Directories.Directory_Information;
Depth : Natural)
is
Entries : League.String_Vectors.Universal_String_Vector
:= Directory.Entry_List;
File : League.Files.File_Information;
begin
for J in 1 .. Entries.Length loop
File := League.Files.To_File_Information (Directory, Entries (J));
if File.Is_Directory then
Ada.Wide_Wide_Text_IO.Put (" (Dir) ");
else
Ada.Wide_Wide_Text_IO.Put (" ");
end if;
for J in 1 .. Depth loop
if J /= Depth then
Ada.Wide_Wide_Text_IO.Put (" ");
else
Ada.Wide_Wide_Text_IO.Put (" - ");
end if;
end loop;
Ada.Wide_Wide_Text_IO.Put_Line (Entries (J).To_Wide_Wide_String);
if File.Is_Directory then
List (File.To_Directory_Information, Depth + 1);
end if;
end loop;
end List;
D : League.Directories.Directory_Information
:= League.Directories.To_Directory_Information
(League.Application.Arguments.Element (1));
V : League.String_Vectors.Universal_String_Vector := D.Entry_List;
F : League.Files.File_Information;
begin
Ada.Wide_Wide_Text_IO.Put_Line ("tree of archive");
List (D, 0);
end Main_Dir;
|
stcarrez/ada-security | Ada | 8,609 | adb | -----------------------------------------------------------------------
-- security-permissions -- Definition of permissions
-- Copyright (C) 2010, 2011, 2016, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Containers.Indefinite_Hashed_Maps;
with Ada.Strings.Hash;
with Util.Strings.Tokenizers;
with Util.Log.Loggers;
-- The <b>Security.Permissions</b> package defines the different permissions that can be
-- checked by the access control manager.
package body Security.Permissions is
function Occurrence (List : in String; Of_Char : in Character) return Natural;
-- The logger
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Security.Permissions");
-- A global map to translate a string to a permission index.
package Permission_Maps is
new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => String,
Element_Type => Permission_Index,
Hash => Ada.Strings.Hash,
Equivalent_Keys => "=",
"=" => "=");
protected type Global_Index is
-- Get the permission index
function Get_Permission_Index (Name : in String) return Permission_Index;
-- Get the last permission index registered in the global permission map.
function Get_Last_Permission_Index return Permission_Index;
-- Get the permission name associated with the index.
function Get_Name (Index : in Permission_Index) return String;
procedure Add_Permission (Name : in String;
Index : out Permission_Index);
private
Map : Permission_Maps.Map;
Next_Index : Permission_Index := NONE + 1;
end Global_Index;
protected body Global_Index is
function Get_Permission_Index (Name : in String) return Permission_Index is
Pos : constant Permission_Maps.Cursor := Map.Find (Name);
begin
if Permission_Maps.Has_Element (Pos) then
return Permission_Maps.Element (Pos);
else
raise Invalid_Name with "There is no permission '" & Name & "'";
end if;
end Get_Permission_Index;
-- ------------------------------
-- Get the last permission index registered in the global permission map.
-- ------------------------------
function Get_Last_Permission_Index return Permission_Index is
begin
return Next_Index - 1;
end Get_Last_Permission_Index;
procedure Add_Permission (Name : in String;
Index : out Permission_Index) is
Pos : constant Permission_Maps.Cursor := Map.Find (Name);
begin
if Permission_Maps.Has_Element (Pos) then
Index := Permission_Maps.Element (Pos);
else
Index := Next_Index;
Log.Debug ("Creating permission index {1} for {0}",
Name, Permission_Index'Image (Index));
Map.Insert (Name, Index);
if Next_Index = Permission_Index'Last then
Log.Error ("Too many permission instantiated. "
& "Increase Security.Permissions.MAX_PERMISSION");
else
Next_Index := Next_Index + 1;
end if;
end if;
end Add_Permission;
-- ------------------------------
-- Get the permission name associated with the index.
-- ------------------------------
function Get_Name (Index : in Permission_Index) return String is
Iter : Permission_Maps.Cursor := Map.First;
begin
while Permission_Maps.Has_Element (Iter) loop
if Permission_Maps.Element (Iter) = Index then
return Permission_Maps.Key (Iter);
end if;
Permission_Maps.Next (Iter);
end loop;
return "";
end Get_Name;
end Global_Index;
Permission_Indexes : Global_Index;
-- ------------------------------
-- Get the permission index associated with the name.
-- ------------------------------
function Get_Permission_Index (Name : in String) return Permission_Index is
begin
return Permission_Indexes.Get_Permission_Index (Name);
end Get_Permission_Index;
function Occurrence (List : in String; Of_Char : in Character) return Natural is
Count : Natural := 0;
begin
if List'Length > 0 then
Count := 1;
for C of List loop
if C = Of_Char then
Count := Count + 1;
end if;
end loop;
end if;
return Count;
end Occurrence;
-- ------------------------------
-- Get the list of permissions whose name is given in the string with separated comma.
-- ------------------------------
function Get_Permission_Array (List : in String) return Permission_Index_Array is
procedure Process (Name : in String;
Done : out Boolean);
Result : Permission_Index_Array (1 .. Occurrence (List, ','));
Count : Natural := 0;
procedure Process (Name : in String;
Done : out Boolean) is
begin
Done := False;
Result (Count + 1) := Get_Permission_Index (Name);
Count := Count + 1;
exception
when Invalid_Name =>
Log.Info ("Permission {0} does not exist", Name);
end Process;
begin
Util.Strings.Tokenizers.Iterate_Tokens (Content => List,
Pattern => ",",
Process => Process'Access,
Going => Ada.Strings.Forward);
return Result (1 .. Count);
end Get_Permission_Array;
-- ------------------------------
-- Get the permission name given the index.
-- ------------------------------
function Get_Name (Index : in Permission_Index) return String is
begin
return Permission_Indexes.Get_Name (Index);
end Get_Name;
-- ------------------------------
-- Get the last permission index registered in the global permission map.
-- ------------------------------
function Get_Last_Permission_Index return Permission_Index is
begin
return Permission_Indexes.Get_Last_Permission_Index;
end Get_Last_Permission_Index;
-- ------------------------------
-- Add the permission name and allocate a unique permission index.
-- ------------------------------
procedure Add_Permission (Name : in String;
Index : out Permission_Index) is
begin
Permission_Indexes.Add_Permission (Name, Index);
end Add_Permission;
-- ------------------------------
-- Check if the permission index set contains the given permission index.
-- ------------------------------
function Has_Permission (Set : in Permission_Index_Set;
Index : in Permission_Index) return Boolean is
use Interfaces;
begin
return (Set (Natural (Index / 8)) and Shift_Left (1, Natural (Index mod 8))) /= 0;
end Has_Permission;
-- ------------------------------
-- Add the permission index to the set.
-- ------------------------------
procedure Add_Permission (Set : in out Permission_Index_Set;
Index : in Permission_Index) is
use Interfaces;
Pos : constant Natural := Natural (Index / 8);
begin
Set (Pos) := Set (Pos) or Shift_Left (1, Natural (Index mod 8));
end Add_Permission;
package body Definition is
P : Permission_Index;
function Permission return Permission_Index is
begin
return P;
end Permission;
begin
Add_Permission (Name => Name, Index => P);
end Definition;
end Security.Permissions;
|
Fabien-Chouteau/Ada_Drivers_Library | Ada | 1,938 | ads | -- This package was generated by the Ada_Drivers_Library project wizard script
package ADL_Config is
Vendor : constant String := "STMicro"; -- From board definition
Max_Mount_Points : constant := 2; -- From default value
Max_Mount_Name_Length : constant := 128; -- From default value
Runtime_Profile : constant String := "ravenscar-sfp"; -- From command line
Device_Name : constant String := "STM32F769NIHx"; -- From board definition
Device_Family : constant String := "STM32F7"; -- From board definition
Has_Ravenscar_SFP_Runtime : constant String := "True"; -- From board definition
Runtime_Name : constant String := "ravenscar-sfp-stm32f769disco"; -- From default value
Has_Ravenscar_Full_Runtime : constant String := "True"; -- From board definition
CPU_Core : constant String := "ARM Cortex-M7F"; -- From mcu definition
Board : constant String := "STM32F769_Discovery"; -- From command line
Has_ZFP_Runtime : constant String := "False"; -- From board definition
Number_Of_Interrupts : constant := 0; -- From default value
High_Speed_External_Clock : constant := 25000000; -- From board definition
Use_Startup_Gen : constant Boolean := False; -- From command line
Max_Path_Length : constant := 1024; -- From default value
Runtime_Name_Suffix : constant String := "stm32f769disco"; -- From board definition
Architecture : constant String := "ARM"; -- From board definition
end ADL_Config;
|
renekroka/Amass | Ada | 7,526 | ads | -- Copyright 2017 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "Alterations"
type = "alt"
ldh_chars = "_abcdefghijklmnopqrstuvwxyz0123456789-"
function resolved(ctx, name, domain, records)
local nparts = split(name, ".")
local dparts = split(domain, ".")
-- Do not process resolved root domain names
if #nparts <= #dparts then
return
end
local cfg = config(ctx)
if (cfg.mode == "passive" or not cfg['alterations'].active) then
return
end
makenames(ctx, cfg.alterations, name)
end
function makenames(ctx, cfg, name)
local s = {}
local words = alt_wordlist(ctx)
if cfg['flip_words'] then
set_insert_many(s, flip_words(name, words))
end
if cfg['flip_numbers'] then
set_insert_many(s, flip_numbers(name))
end
if cfg['add_numbers'] then
set_insert_many(s, append_numbers(name))
end
if cfg['add_words'] then
set_insert_many(s, add_prefix_word(name, words))
set_insert_many(s, add_suffix_word(name, words))
end
local distance = cfg['edit_distance']
if distance > 0 then
set_insert_many(s, fuzzy_label_searches(name, distance))
end
for i, n in pairs(set_elements(s)) do
sendnames(ctx, n)
end
end
function flip_words(name, words)
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
parts = split(hostname, "-")
if #parts < 2 then
return nil
end
local s = {}
local post = partial_join(parts, "-", 2, #parts)
for i, word in pairs(words) do
set_insert(s, word .. "-" .. post .. "." .. base)
end
local pre = partial_join(parts, "-", 1, #parts - 1)
for i, word in pairs(words) do
set_insert(s, pre .. "-" .. word .. "." .. base)
end
return set_elements(s)
end
function flip_numbers(name)
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
local s = {}
local start = 1
while true do
local b, e = string.find(hostname, "%d+", start)
if b == nil then
break
end
start = e + 1
local pre = string.sub(hostname, 1, b - 1)
local post = string.sub(hostname, e + 1)
-- Create an entry with the number removed
set_insert(s, pre .. post .. "." .. base)
local seq = numseq(tonumber(string.sub(hostname, b, e)))
for i, sn in pairs(seq) do
set_insert(s, pre .. sn .. post .. "." .. base)
end
end
return set_elements(s)
end
function numseq(num)
local s = {}
local start = num - 50
if start < 1 then
start = 1
end
local max = num + 50
for i=start,max do
set_insert(s, tostring(i))
end
return set_elements(s)
end
function append_numbers(name)
local s = {}
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
for i=0,9 do
set_insert(s, hostname .. tostring(i) .. "." .. base)
set_insert(s, hostname .. "-" .. tostring(i) .. "." .. base)
end
return set_elements(s)
end
function add_prefix_word(name, words)
local s = {}
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
for i, w in pairs(words) do
set_insert(s, w .. hostname .. "." .. base)
set_insert(s, w .. "-" .. hostname .. "." .. base)
end
return set_elements(s)
end
function add_suffix_word(name, words)
local s = {}
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
for i, w in pairs(words) do
set_insert(s, hostname .. w .. "." .. base)
set_insert(s, hostname .. "-" .. w .. "." .. base)
end
return set_elements(s)
end
function fuzzy_label_searches(name, distance)
local parts = split(name, ".")
local hostname = parts[1]
local base = partial_join(parts, ".", 2, #parts)
local s = {hostname}
for i=1,distance do
local tb = set_elements(s)
set_insert_many(s, additions(tb))
set_insert_many(s, deletions(tb))
set_insert_many(s, substitutions(tb))
end
local results = {}
for i, n in pairs(set_elements(s)) do
set_insert(results, n .. "." .. base)
end
return set_elements(results)
end
function additions(set)
local results = {}
local l = string.len(ldh_chars)
for x, name in pairs(set) do
local nlen = string.len(name)
for i=1,nlen do
for j=1,l do
local c = string.sub(ldh_chars, j, j)
local post = string.sub(name, i)
local pre = ""
if i > 1 then
pre = string.sub(name, 1, i - 1)
end
set_insert(results, pre .. c .. post)
end
end
end
return set_elements(results)
end
function deletions(set)
local results = {}
for x, name in pairs(set) do
local nlen = string.len(name)
for i=1,nlen do
local post = string.sub(name, i + 1)
local pre = ""
if i > 1 then
pre = string.sub(name, 1, i - 1)
end
set_insert(results, pre .. post)
end
end
return set_elements(results)
end
function substitutions(set)
local results = {}
local l = string.len(ldh_chars)
for x, name in pairs(set) do
local nlen = string.len(name)
for i=1,nlen do
for j=1,l do
local c = string.sub(ldh_chars, j, j)
local post = string.sub(name, i + 1)
local pre = ""
if i > 1 then
pre = string.sub(name, 1, i - 1)
end
set_insert(results, pre .. c .. post)
end
end
end
return set_elements(results)
end
function split(str, delim)
local result = {}
local pattern = "[^%" .. delim .. "]+"
local matches = find(str, pattern)
if (matches == nil or #matches == 0) then
return result
end
for i, match in pairs(matches) do
table.insert(result, match)
end
return result
end
function join(parts, sep)
local result = ""
for i, v in pairs(parts) do
result = result .. sep .. v
end
return result
end
function partial_join(parts, sep, first, last)
if (first < 1 or last > #parts) then
return ""
end
local result = parts[first]
first = first + 1
for i=first,last do
result = result .. sep .. parts[i]
end
return result
end
function set_insert(tb, name)
if name ~= "" then
tb[name] = true
end
return tb
end
function set_insert_many(tb, list)
if list == nil then
return tb
end
for i, v in pairs(list) do
tb[v] = true
end
return tb
end
function set_elements(tb)
local result = {}
if tb == nil then
return result
end
for k, v in pairs(tb) do
table.insert(result, k)
end
return result
end
function sendnames(ctx, content)
local names = find(content, subdomainre)
if names == nil then
return
end
for i, v in pairs(names) do
newname(ctx, v)
end
end
|
zhmu/ananas | Ada | 942 | adb | -- { dg-do run }
with Init1; use Init1;
with Text_IO; use Text_IO;
with Dump;
procedure Q1 is
A1 : R1 := My_R1;
B1 : R1 := My_R1;
A2 : R2 := My_R2;
B2 : R2 := My_R2;
begin
Put ("A1 :");
Dump (A1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "A1 : 78 56 34 12.*\n" }
Put ("B1 :");
Dump (B1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "B1 : 78 56 34 12.*\n" }
Put ("A2 :");
Dump (A2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "A2 : 12 34 56 78.*\n" }
Put ("B2 :");
Dump (B2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "B2 : 12 34 56 78.*\n" }
if A1.I /= B1.I then
raise Program_Error;
end if;
if A1.I /= 16#12345678# then
raise Program_Error;
end if;
if A2.I /= B2.I then
raise Program_Error;
end if;
if A2.I /= 16#12345678# then
raise Program_Error;
end if;
end;
|
zhmu/ananas | Ada | 3,108 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- G N A T . S H A 1 --
-- --
-- S p e c --
-- --
-- Copyright (C) 2009-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package implements the SHA-1 secure hash function as described in
-- FIPS PUB 180-3. The complete text of FIPS PUB 180-3 can be found at:
-- http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf
-- See the declaration of GNAT.Secure_Hashes.H in g-sechas.ads for complete
-- documentation.
with GNAT.Secure_Hashes.SHA1;
with System;
package GNAT.SHA1 is new GNAT.Secure_Hashes.H
(Block_Words => GNAT.Secure_Hashes.SHA1.Block_Words,
State_Words => 5,
Hash_Words => 5,
Hash_Bit_Order => System.High_Order_First,
Hash_State => GNAT.Secure_Hashes.SHA1.Hash_State,
Initial_State => GNAT.Secure_Hashes.SHA1.Initial_State,
Transform => GNAT.Secure_Hashes.SHA1.Transform);
|
Letractively/ada-ado | Ada | 7,340 | ads | -----------------------------------------------------------------------
-- ADO Databases -- Database Connections
-- Copyright (C) 2010, 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Finalization;
with ADO.Statements;
with ADO.Schemas;
with ADO.Drivers.Connections;
package ADO.Databases is
use ADO.Statements;
-- Raised for all errors reported by the database
DB_Error : exception;
-- Raised if the database connection is not open.
NOT_OPEN : exception;
NOT_FOUND : exception;
NO_DATABASE : exception;
-- Raised when the connection URI is invalid.
Connection_Error : exception;
-- The database connection status
type Connection_Status is (OPEN, CLOSED);
-- ---------
-- Database connection
-- ---------
-- Read-only database connection (or slave connection).
--
type Connection is tagged private;
-- Get the database connection status.
function Get_Status (Database : in Connection) return Connection_Status;
-- Close the database connection
procedure Close (Database : in out Connection);
-- Create a query statement. The statement is not prepared
function Create_Statement (Database : in Connection;
Table : in ADO.Schemas.Class_Mapping_Access)
return Query_Statement;
-- Create a query statement. The statement is not prepared
function Create_Statement (Database : in Connection;
Query : in String)
return Query_Statement;
-- Load the database schema definition for the current database.
procedure Load_Schema (Database : in Connection;
Schema : out ADO.Schemas.Schema_Definition);
-- Get the database driver which manages this connection.
function Get_Driver (Database : in Connection) return ADO.Drivers.Connections.Driver_Access;
-- Get the database driver index.
function Get_Driver_Index (Database : in Connection) return ADO.Drivers.Driver_Index;
-- Get a database connection identifier.
function Get_Ident (Database : in Connection) return String;
-- ---------
-- Master Database connection
-- ---------
-- Read-write database connection.
type Master_Connection is new Connection with private;
-- Start a transaction.
procedure Begin_Transaction (Database : in out Master_Connection);
-- Commit the current transaction.
procedure Commit (Database : in out Master_Connection);
-- Rollback the current transaction.
procedure Rollback (Database : in out Master_Connection);
-- Execute an SQL statement
-- procedure Execute (Database : in Master_Connection;
-- SQL : in Query_String);
-- Execute an SQL statement
-- procedure Execute (Database : in Master_Connection;
-- SQL : in Query_String;
-- Id : out Identifier);
-- Create a delete statement.
function Create_Statement (Database : in Master_Connection;
Table : in ADO.Schemas.Class_Mapping_Access)
return Delete_Statement;
-- Create an insert statement.
function Create_Statement (Database : in Master_Connection;
Table : in ADO.Schemas.Class_Mapping_Access)
return Insert_Statement;
-- Create an update statement.
function Create_Statement (Database : in Master_Connection;
Table : in ADO.Schemas.Class_Mapping_Access)
return Update_Statement;
-- ------------------------------
-- The database connection source
-- ------------------------------
-- The <b>DataSource</b> is the factory for getting a connection to the database.
-- It contains the configuration properties to define which database driver must
-- be used and which connection parameters the driver has to use to establish
-- the connection.
type DataSource is new ADO.Drivers.Connections.Configuration with private;
type DataSource_Access is access all DataSource'Class;
-- Attempts to establish a connection with the data source
-- that this DataSource object represents.
function Get_Connection (Controller : in DataSource)
return Master_Connection'Class;
-- ------------------------------
-- Replicated Data Source
-- ------------------------------
-- The replicated data source supports a Master/Slave database configuration.
-- When using this data source, the master is used to execute
-- update, insert, delete and also query statements. The slave is used
-- to execute query statements. The master and slave are represented by
-- two separate data sources. This allows to have a master on one server,
-- use a specific user/password and get a slave on another server with other
-- credentials.
type Replicated_DataSource is new DataSource with private;
type Replicated_DataSource_Access is access all Replicated_DataSource'Class;
-- Set the master data source
procedure Set_Master (Controller : in out Replicated_DataSource;
Master : in DataSource_Access);
-- Get the master data source
function Get_Master (Controller : in Replicated_DataSource)
return DataSource_Access;
-- Set the slave data source
procedure Set_Slave (Controller : in out Replicated_DataSource;
Slave : in DataSource_Access);
-- Get the slace data source
function Get_Slave (Controller : in Replicated_DataSource)
return DataSource_Access;
-- Get a slave database connection
function Get_Slave_Connection (Controller : in Replicated_DataSource)
return Connection'Class;
private
type Connection is new Ada.Finalization.Controlled with record
Impl : ADO.Drivers.Connections.Database_Connection_Access := null;
end record;
-- Adjust the connection reference counter
overriding
procedure Adjust (Object : in out Connection);
-- Releases the connection reference counter
overriding
procedure Finalize (Object : in out Connection);
type Master_Connection is new Connection with null record;
type DataSource is new ADO.Drivers.Connections.Configuration with null record;
type Replicated_DataSource is new DataSource with record
Master : DataSource_Access := null;
Slave : DataSource_Access := null;
end record;
end ADO.Databases;
|
AdaCore/libadalang | Ada | 69 | adb | separate (Pack.Inner.Fun)
procedure Proc is
begin
null;
end Proc;
|
m-f-1998/university | Ada | 891 | ads |
-- Author: A. Ireland
--
-- Address: School Mathematical & Computer Sciences
-- Heriot-Watt University
-- Edinburgh, EH14 4AS
--
-- E-mail: [email protected]
--
-- Last modified: 13.9.2019
--
-- Filename: handler.ads
--
-- Description: Provides the drivers required for simulating the
-- environment in which the WTP system operates as
-- well as a logging capability.
pragma SPARK_Mode (Off);
package Handler is
subtype Sensor_Range is Integer range 0..2100;
type Water_Level_Cat is (Low, Normal, High, Undef);
procedure Update_Env;
function At_End return Boolean;
procedure Open_Env_File;
procedure Close_Env_File;
procedure Update_Log;
procedure Open_Log_File;
procedure Close_Log_File;
end Handler;
|
persan/A-gst | Ada | 8,059 | ads | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with System;
with glib;
with glib.Values;
with System;
with glib;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_install_plugins_h is
-- unsupported macro: GST_TYPE_INSTALL_PLUGINS_CONTEXT (gst_install_plugins_context_get_type())
-- GStreamer base utils library plugin install support for applications
-- * Copyright (C) 2007 Tim-Philipp Müller <tim centricular net>
-- * Copyright (C) 2006 Ryan Lortie <desrt desrt ca>
-- *
-- * This library is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU Library General Public
-- * License as published by the Free Software Foundation; either
-- * version 2 of the License, or (at your option) any later version.
-- *
-- * This library is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- * Library General Public License for more details.
-- *
-- * You should have received a copy of the GNU Library General Public
-- * License along with this library; if not, write to the
-- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-- * Boston, MA 02111-1307, USA.
--
-- * functions for use by applications to initiate installation of missing plugins
--
--*
-- * GstInstallPluginsReturn:
-- * @GST_INSTALL_PLUGINS_SUCCESS: all of the requested plugins could be
-- * installed
-- * @GST_INSTALL_PLUGINS_NOT_FOUND: no appropriate installation candidate for
-- * any of the requested plugins could be found. Only return this if nothing
-- * has been installed. Return #GST_INSTALL_PLUGINS_PARTIAL_SUCCESS if
-- * some (but not all) of the requested plugins could be installed.
-- * @GST_INSTALL_PLUGINS_ERROR: an error occured during the installation. If
-- * this happens, the user has already seen an error message and another
-- * one should not be displayed
-- * @GST_INSTALL_PLUGINS_CRASHED: the installer had an unclean exit code
-- * (ie. death by signal)
-- * @GST_INSTALL_PLUGINS_PARTIAL_SUCCESS: some of the requested plugins could
-- * be installed, but not all
-- * @GST_INSTALL_PLUGINS_USER_ABORT: the user has aborted the installation
-- * @GST_INSTALL_PLUGINS_INVALID: the helper returned an invalid status code
-- * @GST_INSTALL_PLUGINS_STARTED_OK: returned by gst_install_plugins_async() to
-- * indicate that everything went fine so far and the provided callback
-- * will be called with the result of the installation later
-- * @GST_INSTALL_PLUGINS_INTERNAL_FAILURE: some internal failure has
-- * occured when trying to start the installer
-- * @GST_INSTALL_PLUGINS_HELPER_MISSING: the helper script to call the
-- * actual installer is not installed
-- * @GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: a previously-started plugin
-- * installation is still in progress, try again later
-- *
-- * Result codes returned by gst_install_plugins_async() and
-- * gst_install_plugins_sync(), and also the result code passed to the
-- * #GstInstallPluginsResultFunc specified with gst_install_plugins_async().
-- *
-- * These codes indicate success or failure of starting an external installer
-- * program and to what extent the requested plugins could be installed.
-- *
-- * Since: 0.10.12
--
-- Return codes from the installer. Returned by gst_install_plugins_sync(),
-- * or passed as result code to your #GstInstallPluginsResultFunc
-- Returned by gst_install_plugins_sync(), or passed as result code to your
-- * #GstInstallPluginsResultFunc
-- Return codes from starting the external helper, may be returned by both
-- * gst_install_plugins_sync() and gst_install_plugins_async(), but should
-- * never be seen by a #GstInstallPluginsResultFunc
subtype GstInstallPluginsReturn is unsigned;
GST_INSTALL_PLUGINS_SUCCESS : constant GstInstallPluginsReturn := 0;
GST_INSTALL_PLUGINS_NOT_FOUND : constant GstInstallPluginsReturn := 1;
GST_INSTALL_PLUGINS_ERROR : constant GstInstallPluginsReturn := 2;
GST_INSTALL_PLUGINS_PARTIAL_SUCCESS : constant GstInstallPluginsReturn := 3;
GST_INSTALL_PLUGINS_USER_ABORT : constant GstInstallPluginsReturn := 4;
GST_INSTALL_PLUGINS_CRASHED : constant GstInstallPluginsReturn := 100;
GST_INSTALL_PLUGINS_INVALID : constant GstInstallPluginsReturn := 101;
GST_INSTALL_PLUGINS_STARTED_OK : constant GstInstallPluginsReturn := 200;
GST_INSTALL_PLUGINS_INTERNAL_FAILURE : constant GstInstallPluginsReturn := 201;
GST_INSTALL_PLUGINS_HELPER_MISSING : constant GstInstallPluginsReturn := 202;
GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS : constant GstInstallPluginsReturn := 203; -- gst/pbutils/install-plugins.h:89
--*
-- * GstInstallPluginsContext:
-- *
-- * Opaque context structure for the plugin installation. Use the provided
-- * API to set details on it.
-- *
-- * Since: 0.10.12
--
-- skipped empty struct u_GstInstallPluginsContext
-- skipped empty struct GstInstallPluginsContext
function gst_install_plugins_context_new return System.Address; -- gst/pbutils/install-plugins.h:104
pragma Import (C, gst_install_plugins_context_new, "gst_install_plugins_context_new");
procedure gst_install_plugins_context_free (ctx : System.Address); -- gst/pbutils/install-plugins.h:106
pragma Import (C, gst_install_plugins_context_free, "gst_install_plugins_context_free");
procedure gst_install_plugins_context_set_xid (ctx : System.Address; xid : GLIB.guint); -- gst/pbutils/install-plugins.h:108
pragma Import (C, gst_install_plugins_context_set_xid, "gst_install_plugins_context_set_xid");
function gst_install_plugins_context_get_type return GLIB.GType; -- gst/pbutils/install-plugins.h:111
pragma Import (C, gst_install_plugins_context_get_type, "gst_install_plugins_context_get_type");
--*
-- * GstInstallPluginsResultFunc:
-- * @result: whether the installation of the requested plugins succeeded or not
-- * @user_data: the user data passed to gst_install_plugins_async()
-- *
-- * The prototype of the callback function that will be called once the
-- * external plugin installer program has returned. You only need to provide
-- * a callback function if you are using the asynchronous interface.
-- *
-- * Since: 0.10.12
--
type GstInstallPluginsResultFunc is access procedure (arg1 : GstInstallPluginsReturn; arg2 : System.Address);
pragma Convention (C, GstInstallPluginsResultFunc); -- gst/pbutils/install-plugins.h:124
function gst_install_plugins_async
(details : System.Address;
ctx : System.Address;
func : GstInstallPluginsResultFunc;
user_data : System.Address) return GstInstallPluginsReturn; -- gst/pbutils/install-plugins.h:127
pragma Import (C, gst_install_plugins_async, "gst_install_plugins_async");
function gst_install_plugins_sync (details : System.Address; ctx : System.Address) return GstInstallPluginsReturn; -- gst/pbutils/install-plugins.h:132
pragma Import (C, gst_install_plugins_sync, "gst_install_plugins_sync");
function gst_install_plugins_return_get_name (ret : GstInstallPluginsReturn) return access GLIB.gchar; -- gst/pbutils/install-plugins.h:135
pragma Import (C, gst_install_plugins_return_get_name, "gst_install_plugins_return_get_name");
function gst_install_plugins_installation_in_progress return GLIB.gboolean; -- gst/pbutils/install-plugins.h:137
pragma Import (C, gst_install_plugins_installation_in_progress, "gst_install_plugins_installation_in_progress");
function gst_install_plugins_supported return GLIB.gboolean; -- gst/pbutils/install-plugins.h:139
pragma Import (C, gst_install_plugins_supported, "gst_install_plugins_supported");
end GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_install_plugins_h;
|
reznikmm/matreshka | Ada | 18,644 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2017, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with System.Storage_Elements;
with Interfaces.C;
with League.Characters;
with League.Strings.Internals;
with Matreshka.Internals.Strings.C;
with Matreshka.Internals.Utf16;
with Matreshka.Internals.Windows;
package body Matreshka.Internals.Settings.Registry is
use Matreshka.Internals.Windows;
use type League.Characters.Universal_Character;
-----------------
-- Windows API --
-----------------
type ACCESS_MASK is new Interfaces.C.unsigned_long;
type REGSAM is new ACCESS_MASK;
type PHKEY is access all HKEY;
type SECURITY_ATTRIBUTES is null record;
type LPSECURITY_ATTRIBUTES is access all SECURITY_ATTRIBUTES;
pragma Convention (C, LPSECURITY_ATTRIBUTES);
KEY_WRITE : constant REGSAM := 16#20006#;
KEY_READ : constant REGSAM := 16#20019#;
use type LONG;
type LPDWORD is access all DWORD;
REG_OPTION_NON_VOLATILE : constant DWORD := 0;
REG_SZ : constant DWORD := 1;
function A_To_HKEY (Value : System.Storage_Elements.Integer_Address)
return HKEY;
---------------
-- A_To_HKEY --
---------------
function A_To_HKEY (Value : System.Storage_Elements.Integer_Address)
return HKEY is
begin
return HKEY (System.Storage_Elements.To_Address (Value));
end A_To_HKEY;
No_HKEY : constant HKEY := HKEY (System.Null_Address);
HKEY_CLASSES_ROOT : constant HKEY := A_To_HKEY (16#8000_0000#);
HKEY_CURRENT_USER : constant HKEY := A_To_HKEY (16#8000_0001#);
HKEY_LOCAL_MACHINE : constant HKEY := A_To_HKEY (16#8000_0002#);
HKEY_USERS : constant HKEY := A_To_HKEY (16#8000_0003#);
function RegOpenKeyEx
(hKey : Registry.HKEY;
lpSubKey : Windows.LPCWSTR;
ulOptions : Interfaces.C.unsigned_long;
samDesired : REGSAM;
phkResult : PHKEY) return LONG;
pragma Import (Stdcall, RegOpenKeyEx, "RegOpenKeyExW");
function RegCreateKeyEx
(hKey : Registry.HKEY;
lpSubKey : Windows.LPCWSTR;
Reserved : Interfaces.C.unsigned_long;
lpClass : Windows.LPWSTR;
dwOptions : DWORD;
samDesired : REGSAM;
lpSecurityAttributes : LPSECURITY_ATTRIBUTES;
phkResult : PHKEY;
lpdwDisposition : LPDWORD) return LONG;
pragma Import (Stdcall, RegCreateKeyEx, "RegCreateKeyExW");
-- function RegCloseKey (hKey : Registry.HKEY) return LONG;
procedure RegCloseKey (hKey : Registry.HKEY);
pragma Import (Stdcall, RegCloseKey, "RegCloseKey");
-- function RegFlushKey (hKey : Registry.HKEY) return LONG;
procedure RegFlushKey (hKey : Registry.HKEY);
pragma Import (Stdcall, RegFlushKey, "RegFlushKey");
function RegSetValueEx
(hKey : Registry.HKEY;
lpSubKey : Windows.LPCWSTR;
Reserved : DWORD;
dwType : DWORD;
lpData : System.Address;
cbData : DWORD) return LONG;
pragma Import (Stdcall, RegSetValueEx, "RegSetValueExW");
function RegQueryValueEx
(hKey : Registry.HKEY;
lpSubKey : Windows.LPCWSTR;
Reserved : LPDWORD;
lpType : LPDWORD;
lpData : System.Address;
lpcbData : LPDWORD) return LONG;
pragma Import (Stdcall, RegQueryValueEx, "RegQueryValueExW");
function Create
(Manager : not null access Abstract_Manager'Class;
Name : League.Strings.Universal_String;
Root : HKEY;
Key : League.Strings.Universal_String;
Read_Only : Boolean) return not null Settings_Access;
-- Creates storage pointing to specified root and key. Read_Only means
-- that subtree is opened for reading only.
procedure Split_Path_Name
(Key : League.Strings.Universal_String;
Path : out League.Strings.Universal_String;
Name : out League.Strings.Universal_String);
-- Split key into path and name parts.
function Open_Or_Create
(Parent : HKEY;
Path : League.Strings.Universal_String) return HKEY;
-- Opens existing path or create new path and returns its handler.
function Open
(Parent : HKEY;
Path : League.Strings.Universal_String) return HKEY;
-- Opens existing path in read-only mode and returns its handler.
HKEY_CURRENT_USER_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("HKEY_CURRENT_USER");
HKEY_LOCAL_MACHINE_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("HKEY_LOCAL_MACHINE");
HKEY_CLASSES_ROOT_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("HKEY_CLASSES_ROOT");
HKEY_USERS_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("HKEY_USERS");
--------------
-- Contains --
--------------
overriding function Contains
(Self : Registry_Settings;
Key : League.Strings.Universal_String) return Boolean
is
Handler : HKEY;
Path : League.Strings.Universal_String;
Name : League.Strings.Universal_String;
Found : Boolean := True;
begin
-- Compute path to open
Split_Path_Name (Key, Path, Name);
-- Try to open path
Handler := Open (Self.Handler, Path);
if Handler /= No_HKEY then
-- Try to retrieve value
if RegQueryValueEx
(Handler,
League.Strings.Internals.Internal (Name).Value (0)'Access,
null,
null,
System.Null_Address,
null) /= 0
then
Found := False;
end if;
RegCloseKey (Handler);
else
Found := False;
end if;
return Found;
end Contains;
------------
-- Create --
------------
function Create
(Manager : not null access Abstract_Manager'Class;
Key : League.Strings.Universal_String;
Read_Only : Boolean) return not null Settings_Access
is
use type League.Strings.Universal_String;
Path : League.Strings.Universal_String := Key;
Separator : Natural;
begin
-- Remove leading backslash if any.
if Path.Element (1) = '\' then
Path := Path.Slice (2, Path.Length);
end if;
Separator := Path.Index ('\');
if Separator = 0 then
Separator := Path.Length + 1;
end if;
if Path.Slice (1, Separator - 1) = HKEY_CURRENT_USER_Name then
return
Create
(Manager,
'\' & Path,
HKEY_CURRENT_USER,
Path.Slice (Separator + 1, Path.Length),
Read_Only);
elsif Path.Slice (1, Separator - 1) = HKEY_LOCAL_MACHINE_Name then
return
Create
(Manager,
'\' & Path,
HKEY_LOCAL_MACHINE,
Path.Slice (Separator + 1, Path.Length),
Read_Only);
elsif Path.Slice (1, Separator - 1) = HKEY_CLASSES_ROOT_Name then
return
Create
(Manager,
'\' & Path,
HKEY_CLASSES_ROOT,
Path.Slice (Separator + 1, Path.Length),
Read_Only);
elsif Path.Slice (1, Separator - 1) = HKEY_USERS_Name then
return
Create
(Manager,
'\' & Path,
HKEY_USERS,
Path.Slice (Separator + 1, Path.Length),
Read_Only);
else
return
Create
(Manager,
'\' & HKEY_LOCAL_MACHINE_Name & '\' & Path,
HKEY_LOCAL_MACHINE,
Path,
Read_Only);
end if;
end Create;
------------
-- Create --
------------
function Create
(Manager : not null access Abstract_Manager'Class;
Name : League.Strings.Universal_String;
Root : HKEY;
Key : League.Strings.Universal_String;
Read_Only : Boolean) return not null Settings_Access is
begin
return Aux : constant not null Settings_Access
:= new Registry_Settings'
(Counter => <>,
Manager => Manager,
Name => Name,
Handler => <>,
Read_Only => Read_Only)
do
declare
Self : Registry_Settings'Class
renames Registry_Settings'Class (Aux.all);
begin
if Self.Read_Only then
-- Open registry to read when Read_Only mode is specified.
Self.Handler := Open (Root, Key);
else
-- In Read_Write mode, try to open first.
Self.Handler := Open_Or_Create (Root, Key);
if Self.Handler = No_HKEY then
-- Fallback to read-only mode and try to open it to read.
Self.Read_Only := True;
Self.Handler := Open (Root, Key);
end if;
end if;
end;
end return;
end Create;
--------------
-- Finalize --
--------------
overriding procedure Finalize
(Self : not null access Registry_Settings) is
begin
if Self.Handler /= No_HKEY then
RegCloseKey (Self.Handler);
Self.Handler := No_HKEY;
end if;
end Finalize;
----------
-- Name --
----------
overriding function Name
(Self : not null access Registry_Settings)
return League.Strings.Universal_String is
begin
return Self.Name;
end Name;
----------
-- Open --
----------
function Open
(Parent : HKEY;
Path : League.Strings.Universal_String) return HKEY
is
Handler : aliased HKEY;
begin
if RegOpenKeyEx
(Parent,
League.Strings.Internals.Internal (Path).Value (0)'Access,
0,
KEY_READ,
Handler'Unchecked_Access) /= 0
then
Handler := No_HKEY;
end if;
return Handler;
end Open;
--------------------
-- Open_Or_Create --
--------------------
function Open_Or_Create
(Parent : HKEY;
Path : League.Strings.Universal_String) return HKEY
is
Handler : aliased HKEY;
begin
if RegOpenKeyEx
(Parent,
League.Strings.Internals.Internal (Path).Value (0)'Access,
0,
KEY_READ or KEY_WRITE,
Handler'Unchecked_Access) /= 0
then
-- Try to create path
if RegCreateKeyEx
(Parent,
League.Strings.Internals.Internal (Path).Value (0)'Access,
0,
null,
REG_OPTION_NON_VOLATILE,
KEY_READ or KEY_WRITE,
null,
Handler'Unchecked_Access,
null) /= 0
then
-- Operation failed.
Handler := No_HKEY;
end if;
end if;
return Handler;
end Open_Or_Create;
------------
-- Remove --
------------
overriding procedure Remove
(Self : in out Registry_Settings;
Key : League.Strings.Universal_String) is
begin
null;
end Remove;
---------------
-- Set_Value --
---------------
overriding procedure Set_Value
(Self : in out Registry_Settings;
Key : League.Strings.Universal_String;
Value : League.Holders.Holder)
is
use type Matreshka.Internals.Utf16.Utf16_String_Index;
Handler : aliased HKEY;
Path : League.Strings.Universal_String;
Name : League.Strings.Universal_String;
V : League.Strings.Universal_String;
begin
if Self.Handler = No_HKEY or Self.Read_Only then
-- Registry can't be modified in read-only mode.
return;
end if;
-- Compute path to open
Split_Path_Name (Key, Path, Name);
-- Try to open path
Handler := Open_Or_Create (Self.Handler, Path);
if Handler = No_HKEY then
-- Operation failed, return.
return;
end if;
-- Extract value.
V := League.Holders.Element (Value);
-- Store string.
if RegSetValueEx
(Handler,
League.Strings.Internals.Internal (Name).Value (0)'Access,
0,
REG_SZ,
League.Strings.Internals.Internal (V).Value (0)'Address,
DWORD ((League.Strings.Internals.Internal (V).Unused + 1) * 2)) /= 0
then
null;
end if;
RegCloseKey (Handler);
end Set_Value;
---------------------
-- Split_Path_Name --
---------------------
procedure Split_Path_Name
(Key : League.Strings.Universal_String;
Path : out League.Strings.Universal_String;
Name : out League.Strings.Universal_String) is
begin
Path := League.Strings.Empty_Universal_String;
Name := Key;
for J in 1 .. Key.Length loop
if Key.Element (J) = '\' then
Path := Key.Slice (1, J - 1);
Name := Key.Slice (J + 1, Key.Length);
exit;
end if;
end loop;
end Split_Path_Name;
----------
-- Sync --
----------
overriding procedure Sync (Self : in out Registry_Settings) is
begin
if Self.Handler /= No_HKEY and not Self.Read_Only then
-- RegFlushKey requires KEY_QUERY_VALUE access right, this right is
-- part of KEY_READ.
RegFlushKey (Self.Handler);
end if;
end Sync;
-----------
-- Value --
-----------
overriding function Value
(Self : Registry_Settings;
Key : League.Strings.Universal_String)
return League.Holders.Holder
is
use Matreshka.Internals.Utf16;
use type DWORD;
Handler : HKEY;
Path : League.Strings.Universal_String;
Name : League.Strings.Universal_String;
V_Type : aliased DWORD;
V_Size : aliased DWORD;
Value : League.Holders.Holder;
begin
-- Compute path to open
Split_Path_Name (Key, Path, Name);
-- Try to open path
Handler := Open (Self.Handler, Path);
if Handler = No_HKEY then
return Value;
end if;
-- Try to retrieve value
if RegQueryValueEx
(Handler,
League.Strings.Internals.Internal (Name).Value (0)'Access,
null,
V_Type'Unchecked_Access,
System.Null_Address,
V_Size'Unchecked_Access) = 0
then
if V_Type = REG_SZ then
declare
V : Matreshka.Internals.Utf16.Utf16_String
(0
.. Matreshka.Internals.Utf16.Utf16_String_Index
(V_Size / 2));
begin
if RegQueryValueEx
(Handler,
League.Strings.Internals.Internal (Name).Value (0)'Access,
null,
V_Type'Unchecked_Access,
V'Address,
V_Size'Unchecked_Access) = 0
then
V (V'Last) := 0;
Value := League.Holders.To_Holder
(Matreshka.Internals.Strings.C.To_Valid_Universal_String
(V (0)'Unchecked_Access));
end if;
end;
end if;
end if;
RegCloseKey (Handler);
return Value;
end Value;
end Matreshka.Internals.Settings.Registry;
|
reznikmm/matreshka | Ada | 4,648 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Style.Language_Asian_Attributes is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Style_Language_Asian_Attribute_Node is
begin
return Self : Style_Language_Asian_Attribute_Node do
Matreshka.ODF_Style.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Style_Prefix);
end return;
end Create;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Style_Language_Asian_Attribute_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Language_Asian_Attribute;
end Get_Local_Name;
begin
Matreshka.DOM_Documents.Register_Attribute
(Matreshka.ODF_String_Constants.Style_URI,
Matreshka.ODF_String_Constants.Language_Asian_Attribute,
Style_Language_Asian_Attribute_Node'Tag);
end Matreshka.ODF_Style.Language_Asian_Attributes;
|
tum-ei-rcs/StratoX | Ada | 2,071 | ads | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: LSM303D Driver
--
-- Authors: Emanuel Regnath ([email protected])
--
-- Description: Register definitions for the LSM303D
--
-- ToDo:
-- [ ] Implementation
package LSM303D is
ADDR_WHO_AM_I : constant := 0x0F
WHO_I_AM : constant := 0x49
ADDR_OUT_TEMP_L : constant := 0x05;
ADDR_OUT_TEMP_H : constant := 0x06;
ADDR_STATUS_M : constant := 0x07;
ADDR_OUT_X_L_M : constant := 0x08;
ADDR_OUT_X_H_M : constant := 0x09;
ADDR_OUT_Y_L_M : constant := 0x0A;
ADDR_OUT_Y_H_M : constant := 0x0B;
ADDR_OUT_Z_L_M : constant := 0x0C;
ADDR_OUT_Z_H_M : constant := 0x0D;
ADDR_INT_CTRL_M : constant := 0x12;
ADDR_INT_SRC_M : constant := 0x13;
ADDR_REFERENCE_X : constant := 0x1c;
ADDR_REFERENCE_Y : constant := 0x1d;
ADDR_REFERENCE_Z : constant := 0x1e;
ADDR_STATUS_A : constant := 0x27;
ADDR_OUT_X_L_A : constant := 0x28;
ADDR_OUT_X_H_A : constant := 0x29;
ADDR_OUT_Y_L_A : constant := 0x2A;
ADDR_OUT_Y_H_A : constant := 0x2B;
ADDR_OUT_Z_L_A : constant := 0x2C;
ADDR_OUT_Z_H_A : constant := 0x2D;
ADDR_CTRL_REG0 : constant := 0x1F;
ADDR_CTRL_REG1 : constant := 0x20;
ADDR_CTRL_REG2 : constant := 0x21;
ADDR_CTRL_REG3 : constant := 0x22;
ADDR_CTRL_REG4 : constant := 0x23;
ADDR_CTRL_REG5 : constant := 0x24;
ADDR_CTRL_REG6 : constant := 0x25;
ADDR_CTRL_REG7 : constant := 0x26;
ADDR_FIFO_CTRL : constant := 0x2e;
ADDR_FIFO_SRC : constant := 0x2f;
ADDR_IG_CFG1 : constant := 0x30;
ADDR_IG_SRC1 : constant := 0x31;
ADDR_IG_THS1 : constant := 0x32;
ADDR_IG_DUR1 : constant := 0x33;
ADDR_IG_CFG2 : constant := 0x34;
ADDR_IG_SRC2 : constant := 0x35;
ADDR_IG_THS2 : constant := 0x36;
ADDR_IG_DUR2 : constant := 0x37;
ADDR_CLICK_CFG : constant := 0x38;
ADDR_CLICK_SRC : constant := 0x39;
ADDR_CLICK_THS : constant := 0x3a;
ADDR_TIME_LIMIT : constant := 0x3b;
ADDR_TIME_LATENCY : constant := 0x3c;
ADDR_TIME_WINDOW : constant := 0x3d;
ADDR_ACT_THS : constant := 0x3e;
ADDR_ACT_DUR : constant := 0x3f;
end LSM303D; |
zhmu/ananas | Ada | 342 | ads | -- { dg-excess-errors "no code generated" }
package Varsize_Return2_Pkg is
type T (D: Positive) is record
Data: String (1 .. D);
end record;
function Len return Positive;
generic
I : Integer;
package G is
subtype Small_T is T(Len);
function Get return Small_T;
end G;
end Varsize_Return2_Pkg;
|
DrenfongWong/tkm-rpc | Ada | 1,035 | ads | with Tkmrpc.Types;
with Tkmrpc.Operations.Ees;
package Tkmrpc.Response.Ees.Esa_Expire is
Data_Size : constant := 0;
Padding_Size : constant := Response.Body_Size - Data_Size;
subtype Padding_Range is Natural range 1 .. Padding_Size;
subtype Padding_Type is Types.Byte_Sequence (Padding_Range);
type Response_Type is record
Header : Response.Header_Type;
Padding : Padding_Type;
end record;
for Response_Type use record
Header at 0 range 0 .. (Response.Header_Size * 8) - 1;
Padding at Response.Header_Size + Data_Size range
0 .. (Padding_Size * 8) - 1;
end record;
for Response_Type'Size use Response.Response_Size * 8;
Null_Response : constant Response_Type :=
Response_Type'
(Header =>
Response.Header_Type'(Operation => Operations.Ees.Esa_Expire,
Result => Results.Invalid_Operation,
Request_Id => 0),
Padding => Padding_Type'(others => 0));
end Tkmrpc.Response.Ees.Esa_Expire;
|
sungyeon/drake | Ada | 2,344 | ads | pragma License (Unrestricted);
-- implementation unit specialized for Darwin (or Linux, or Windows)
package System.Long_Long_Elementary_Functions is
pragma Pure;
function logl (x : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_logl";
function Fast_Log (X : Long_Long_Float) return Long_Long_Float
renames logl;
function expl (x : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_expl";
function Fast_Exp (X : Long_Long_Float) return Long_Long_Float
renames expl;
function powl (x, y : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_powl";
function Fast_Pow (Left, Right : Long_Long_Float) return Long_Long_Float
renames powl;
function sinhl (x : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_sinhl";
function Fast_Sinh (X : Long_Long_Float) return Long_Long_Float
renames sinhl;
function coshl (x : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_coshl";
function Fast_Cosh (X : Long_Long_Float) return Long_Long_Float
renames coshl;
function tanhl (x : Long_Long_Float) return Long_Long_Float
with Import, Convention => Intrinsic, External_Name => "__builtin_tanhl";
function Fast_Tanh (X : Long_Long_Float) return Long_Long_Float
renames tanhl;
function asinhl (x : Long_Long_Float) return Long_Long_Float
with Import,
Convention => Intrinsic, External_Name => "__builtin_asinhl";
function Fast_Arcsinh (X : Long_Long_Float) return Long_Long_Float
renames asinhl;
function acoshl (x : Long_Long_Float) return Long_Long_Float
with Import,
Convention => Intrinsic, External_Name => "__builtin_acoshl";
function Fast_Arccosh (X : Long_Long_Float) return Long_Long_Float
renames acoshl;
function atanhl (x : Long_Long_Float) return Long_Long_Float
with Import,
Convention => Intrinsic, External_Name => "__builtin_atanhl";
function Fast_Arctanh (X : Long_Long_Float) return Long_Long_Float
renames atanhl;
end System.Long_Long_Elementary_Functions;
|
AdaCore/libadalang | Ada | 82 | adb | package body Foo is
procedure Bar is
begin
null;
end Bar;
end Foo;
|
pok-kernel/pok | Ada | 620 | adb | -- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on the POK licence, please see our LICENCE FILE
--
-- Please follow the coding guidelines described in doc/CODING_GUIDELINES
--
-- Copyright (c) 2007-2022 POK team
with Ada.Text_IO;
use Ada.Text_IO;
package User is
procedure Hello_Part1 is
begin
Put_Line ("Hello from part1");
end Hello_Part1;
end User;
|
Fabien-Chouteau/Ada_Drivers_Library | Ada | 23,458 | ads | -- Copyright (c) 2013, Nordic Semiconductor ASA
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright notice,
-- this list of conditions and the following disclaimer in the documentation
-- and/or other materials provided with the distribution.
--
-- * Neither the name of Nordic Semiconductor ASA nor the names of its
-- contributors may be used to endorse or promote products derived from
-- this software without specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--
-- This spec has been automatically generated from nrf51.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NRF51_SVD.RTC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Compare event on CC[n] match.
-- Compare event on CC[n] match.
type EVENTS_COMPARE_Registers is array (0 .. 3) of HAL.UInt32
with Volatile;
-- Enable interrupt on TICK event.
type INTENSET_TICK_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENSET_TICK_Field use
(Disabled => 0,
Enabled => 1);
-- Enable interrupt on TICK event.
type INTENSET_TICK_Field_1 is
(
-- Reset value for the field
Intenset_Tick_Field_Reset,
-- Enable interrupt on write.
Set)
with Size => 1;
for INTENSET_TICK_Field_1 use
(Intenset_Tick_Field_Reset => 0,
Set => 1);
-- Enable interrupt on OVRFLW event.
type INTENSET_OVRFLW_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENSET_OVRFLW_Field use
(Disabled => 0,
Enabled => 1);
-- Enable interrupt on OVRFLW event.
type INTENSET_OVRFLW_Field_1 is
(
-- Reset value for the field
Intenset_Ovrflw_Field_Reset,
-- Enable interrupt on write.
Set)
with Size => 1;
for INTENSET_OVRFLW_Field_1 use
(Intenset_Ovrflw_Field_Reset => 0,
Set => 1);
-- Enable interrupt on COMPARE[0] event.
type INTENSET_COMPARE0_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENSET_COMPARE0_Field use
(Disabled => 0,
Enabled => 1);
-- Enable interrupt on COMPARE[0] event.
type INTENSET_COMPARE0_Field_1 is
(
-- Reset value for the field
Intenset_Compare0_Field_Reset,
-- Enable interrupt on write.
Set)
with Size => 1;
for INTENSET_COMPARE0_Field_1 use
(Intenset_Compare0_Field_Reset => 0,
Set => 1);
-- INTENSET_COMPARE array
type INTENSET_COMPARE_Field_Array is array (0 .. 3)
of INTENSET_COMPARE0_Field_1
with Component_Size => 1, Size => 4;
-- Type definition for INTENSET_COMPARE
type INTENSET_COMPARE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- COMPARE as a value
Val : HAL.UInt4;
when True =>
-- COMPARE as an array
Arr : INTENSET_COMPARE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for INTENSET_COMPARE_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- Interrupt enable set register.
type INTENSET_Register is record
-- Enable interrupt on TICK event.
TICK : INTENSET_TICK_Field_1 := Intenset_Tick_Field_Reset;
-- Enable interrupt on OVRFLW event.
OVRFLW : INTENSET_OVRFLW_Field_1 := Intenset_Ovrflw_Field_Reset;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- Enable interrupt on COMPARE[0] event.
COMPARE : INTENSET_COMPARE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for INTENSET_Register use record
TICK at 0 range 0 .. 0;
OVRFLW at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
COMPARE at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
-- Disable interrupt on TICK event.
type INTENCLR_TICK_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENCLR_TICK_Field use
(Disabled => 0,
Enabled => 1);
-- Disable interrupt on TICK event.
type INTENCLR_TICK_Field_1 is
(
-- Reset value for the field
Intenclr_Tick_Field_Reset,
-- Disable interrupt on write.
Clear)
with Size => 1;
for INTENCLR_TICK_Field_1 use
(Intenclr_Tick_Field_Reset => 0,
Clear => 1);
-- Disable interrupt on OVRFLW event.
type INTENCLR_OVRFLW_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENCLR_OVRFLW_Field use
(Disabled => 0,
Enabled => 1);
-- Disable interrupt on OVRFLW event.
type INTENCLR_OVRFLW_Field_1 is
(
-- Reset value for the field
Intenclr_Ovrflw_Field_Reset,
-- Disable interrupt on write.
Clear)
with Size => 1;
for INTENCLR_OVRFLW_Field_1 use
(Intenclr_Ovrflw_Field_Reset => 0,
Clear => 1);
-- Disable interrupt on COMPARE[0] event.
type INTENCLR_COMPARE0_Field is
(
-- Interrupt disabled.
Disabled,
-- Interrupt enabled.
Enabled)
with Size => 1;
for INTENCLR_COMPARE0_Field use
(Disabled => 0,
Enabled => 1);
-- Disable interrupt on COMPARE[0] event.
type INTENCLR_COMPARE0_Field_1 is
(
-- Reset value for the field
Intenclr_Compare0_Field_Reset,
-- Disable interrupt on write.
Clear)
with Size => 1;
for INTENCLR_COMPARE0_Field_1 use
(Intenclr_Compare0_Field_Reset => 0,
Clear => 1);
-- INTENCLR_COMPARE array
type INTENCLR_COMPARE_Field_Array is array (0 .. 3)
of INTENCLR_COMPARE0_Field_1
with Component_Size => 1, Size => 4;
-- Type definition for INTENCLR_COMPARE
type INTENCLR_COMPARE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- COMPARE as a value
Val : HAL.UInt4;
when True =>
-- COMPARE as an array
Arr : INTENCLR_COMPARE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for INTENCLR_COMPARE_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- Interrupt enable clear register.
type INTENCLR_Register is record
-- Disable interrupt on TICK event.
TICK : INTENCLR_TICK_Field_1 := Intenclr_Tick_Field_Reset;
-- Disable interrupt on OVRFLW event.
OVRFLW : INTENCLR_OVRFLW_Field_1 := Intenclr_Ovrflw_Field_Reset;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- Disable interrupt on COMPARE[0] event.
COMPARE : INTENCLR_COMPARE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for INTENCLR_Register use record
TICK at 0 range 0 .. 0;
OVRFLW at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
COMPARE at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
-- TICK event enable.
type EVTEN_TICK_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTEN_TICK_Field use
(Disabled => 0,
Enabled => 1);
-- OVRFLW event enable.
type EVTEN_OVRFLW_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTEN_OVRFLW_Field use
(Disabled => 0,
Enabled => 1);
-- COMPARE[0] event enable.
type EVTEN_COMPARE0_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTEN_COMPARE0_Field use
(Disabled => 0,
Enabled => 1);
-- EVTEN_COMPARE array
type EVTEN_COMPARE_Field_Array is array (0 .. 3) of EVTEN_COMPARE0_Field
with Component_Size => 1, Size => 4;
-- Type definition for EVTEN_COMPARE
type EVTEN_COMPARE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- COMPARE as a value
Val : HAL.UInt4;
when True =>
-- COMPARE as an array
Arr : EVTEN_COMPARE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for EVTEN_COMPARE_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- Configures event enable routing to PPI for each RTC event.
type EVTEN_Register is record
-- TICK event enable.
TICK : EVTEN_TICK_Field := NRF51_SVD.RTC.Disabled;
-- OVRFLW event enable.
OVRFLW : EVTEN_OVRFLW_Field := NRF51_SVD.RTC.Disabled;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- COMPARE[0] event enable.
COMPARE : EVTEN_COMPARE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EVTEN_Register use record
TICK at 0 range 0 .. 0;
OVRFLW at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
COMPARE at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
-- Enable routing to PPI of TICK event.
type EVTENSET_TICK_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENSET_TICK_Field use
(Disabled => 0,
Enabled => 1);
-- Enable routing to PPI of TICK event.
type EVTENSET_TICK_Field_1 is
(
-- Reset value for the field
Evtenset_Tick_Field_Reset,
-- Enable event on write.
Set)
with Size => 1;
for EVTENSET_TICK_Field_1 use
(Evtenset_Tick_Field_Reset => 0,
Set => 1);
-- Enable routing to PPI of OVRFLW event.
type EVTENSET_OVRFLW_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENSET_OVRFLW_Field use
(Disabled => 0,
Enabled => 1);
-- Enable routing to PPI of OVRFLW event.
type EVTENSET_OVRFLW_Field_1 is
(
-- Reset value for the field
Evtenset_Ovrflw_Field_Reset,
-- Enable event on write.
Set)
with Size => 1;
for EVTENSET_OVRFLW_Field_1 use
(Evtenset_Ovrflw_Field_Reset => 0,
Set => 1);
-- Enable routing to PPI of COMPARE[0] event.
type EVTENSET_COMPARE0_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENSET_COMPARE0_Field use
(Disabled => 0,
Enabled => 1);
-- Enable routing to PPI of COMPARE[0] event.
type EVTENSET_COMPARE0_Field_1 is
(
-- Reset value for the field
Evtenset_Compare0_Field_Reset,
-- Enable event on write.
Set)
with Size => 1;
for EVTENSET_COMPARE0_Field_1 use
(Evtenset_Compare0_Field_Reset => 0,
Set => 1);
-- EVTENSET_COMPARE array
type EVTENSET_COMPARE_Field_Array is array (0 .. 3)
of EVTENSET_COMPARE0_Field_1
with Component_Size => 1, Size => 4;
-- Type definition for EVTENSET_COMPARE
type EVTENSET_COMPARE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- COMPARE as a value
Val : HAL.UInt4;
when True =>
-- COMPARE as an array
Arr : EVTENSET_COMPARE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for EVTENSET_COMPARE_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- Enable events routing to PPI. The reading of this register gives the
-- value of EVTEN.
type EVTENSET_Register is record
-- Enable routing to PPI of TICK event.
TICK : EVTENSET_TICK_Field_1 := Evtenset_Tick_Field_Reset;
-- Enable routing to PPI of OVRFLW event.
OVRFLW : EVTENSET_OVRFLW_Field_1 := Evtenset_Ovrflw_Field_Reset;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- Enable routing to PPI of COMPARE[0] event.
COMPARE : EVTENSET_COMPARE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EVTENSET_Register use record
TICK at 0 range 0 .. 0;
OVRFLW at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
COMPARE at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
-- Disable routing to PPI of TICK event.
type EVTENCLR_TICK_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENCLR_TICK_Field use
(Disabled => 0,
Enabled => 1);
-- Disable routing to PPI of TICK event.
type EVTENCLR_TICK_Field_1 is
(
-- Reset value for the field
Evtenclr_Tick_Field_Reset,
-- Disable event on write.
Clear)
with Size => 1;
for EVTENCLR_TICK_Field_1 use
(Evtenclr_Tick_Field_Reset => 0,
Clear => 1);
-- Disable routing to PPI of OVRFLW event.
type EVTENCLR_OVRFLW_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENCLR_OVRFLW_Field use
(Disabled => 0,
Enabled => 1);
-- Disable routing to PPI of OVRFLW event.
type EVTENCLR_OVRFLW_Field_1 is
(
-- Reset value for the field
Evtenclr_Ovrflw_Field_Reset,
-- Disable event on write.
Clear)
with Size => 1;
for EVTENCLR_OVRFLW_Field_1 use
(Evtenclr_Ovrflw_Field_Reset => 0,
Clear => 1);
-- Disable routing to PPI of COMPARE[0] event.
type EVTENCLR_COMPARE0_Field is
(
-- Event disabled.
Disabled,
-- Event enabled.
Enabled)
with Size => 1;
for EVTENCLR_COMPARE0_Field use
(Disabled => 0,
Enabled => 1);
-- Disable routing to PPI of COMPARE[0] event.
type EVTENCLR_COMPARE0_Field_1 is
(
-- Reset value for the field
Evtenclr_Compare0_Field_Reset,
-- Disable event on write.
Clear)
with Size => 1;
for EVTENCLR_COMPARE0_Field_1 use
(Evtenclr_Compare0_Field_Reset => 0,
Clear => 1);
-- EVTENCLR_COMPARE array
type EVTENCLR_COMPARE_Field_Array is array (0 .. 3)
of EVTENCLR_COMPARE0_Field_1
with Component_Size => 1, Size => 4;
-- Type definition for EVTENCLR_COMPARE
type EVTENCLR_COMPARE_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- COMPARE as a value
Val : HAL.UInt4;
when True =>
-- COMPARE as an array
Arr : EVTENCLR_COMPARE_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for EVTENCLR_COMPARE_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- Disable events routing to PPI. The reading of this register gives the
-- value of EVTEN.
type EVTENCLR_Register is record
-- Disable routing to PPI of TICK event.
TICK : EVTENCLR_TICK_Field_1 := Evtenclr_Tick_Field_Reset;
-- Disable routing to PPI of OVRFLW event.
OVRFLW : EVTENCLR_OVRFLW_Field_1 := Evtenclr_Ovrflw_Field_Reset;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- Disable routing to PPI of COMPARE[0] event.
COMPARE : EVTENCLR_COMPARE_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EVTENCLR_Register use record
TICK at 0 range 0 .. 0;
OVRFLW at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
COMPARE at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
subtype COUNTER_COUNTER_Field is HAL.UInt24;
-- Current COUNTER value.
type COUNTER_Register is record
-- Read-only. Counter value.
COUNTER : COUNTER_COUNTER_Field;
-- unspecified
Reserved_24_31 : HAL.UInt8;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for COUNTER_Register use record
COUNTER at 0 range 0 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype PRESCALER_PRESCALER_Field is HAL.UInt12;
-- 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be
-- written when RTC is STOPed.
type PRESCALER_Register is record
-- RTC PRESCALER value.
PRESCALER : PRESCALER_PRESCALER_Field := 16#0#;
-- unspecified
Reserved_12_31 : HAL.UInt20 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for PRESCALER_Register use record
PRESCALER at 0 range 0 .. 11;
Reserved_12_31 at 0 range 12 .. 31;
end record;
subtype CC_COMPARE_Field is HAL.UInt24;
-- Capture/compare registers.
type CC_Register is record
-- Compare value.
COMPARE : CC_COMPARE_Field := 16#0#;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CC_Register use record
COMPARE at 0 range 0 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
-- Capture/compare registers.
type CC_Registers is array (0 .. 3) of CC_Register
with Volatile;
-- Peripheral power control.
type POWER_POWER_Field is
(
-- Module power disabled.
Disabled,
-- Module power enabled.
Enabled)
with Size => 1;
for POWER_POWER_Field use
(Disabled => 0,
Enabled => 1);
-- Peripheral power control.
type POWER_Register is record
-- Peripheral power control.
POWER : POWER_POWER_Field := NRF51_SVD.RTC.Disabled;
-- unspecified
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for POWER_Register use record
POWER at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Real time counter 0.
type RTC_Peripheral is record
-- Start RTC Counter.
TASKS_START : aliased HAL.UInt32;
-- Stop RTC Counter.
TASKS_STOP : aliased HAL.UInt32;
-- Clear RTC Counter.
TASKS_CLEAR : aliased HAL.UInt32;
-- Set COUNTER to 0xFFFFFFF0.
TASKS_TRIGOVRFLW : aliased HAL.UInt32;
-- Event on COUNTER increment.
EVENTS_TICK : aliased HAL.UInt32;
-- Event on COUNTER overflow.
EVENTS_OVRFLW : aliased HAL.UInt32;
-- Compare event on CC[n] match.
EVENTS_COMPARE : aliased EVENTS_COMPARE_Registers;
-- Interrupt enable set register.
INTENSET : aliased INTENSET_Register;
-- Interrupt enable clear register.
INTENCLR : aliased INTENCLR_Register;
-- Configures event enable routing to PPI for each RTC event.
EVTEN : aliased EVTEN_Register;
-- Enable events routing to PPI. The reading of this register gives the
-- value of EVTEN.
EVTENSET : aliased EVTENSET_Register;
-- Disable events routing to PPI. The reading of this register gives the
-- value of EVTEN.
EVTENCLR : aliased EVTENCLR_Register;
-- Current COUNTER value.
COUNTER : aliased COUNTER_Register;
-- 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be
-- written when RTC is STOPed.
PRESCALER : aliased PRESCALER_Register;
-- Capture/compare registers.
CC : aliased CC_Registers;
-- Peripheral power control.
POWER : aliased POWER_Register;
end record
with Volatile;
for RTC_Peripheral use record
TASKS_START at 16#0# range 0 .. 31;
TASKS_STOP at 16#4# range 0 .. 31;
TASKS_CLEAR at 16#8# range 0 .. 31;
TASKS_TRIGOVRFLW at 16#C# range 0 .. 31;
EVENTS_TICK at 16#100# range 0 .. 31;
EVENTS_OVRFLW at 16#104# range 0 .. 31;
EVENTS_COMPARE at 16#140# range 0 .. 127;
INTENSET at 16#304# range 0 .. 31;
INTENCLR at 16#308# range 0 .. 31;
EVTEN at 16#340# range 0 .. 31;
EVTENSET at 16#344# range 0 .. 31;
EVTENCLR at 16#348# range 0 .. 31;
COUNTER at 16#504# range 0 .. 31;
PRESCALER at 16#508# range 0 .. 31;
CC at 16#540# range 0 .. 127;
POWER at 16#FFC# range 0 .. 31;
end record;
-- Real time counter 0.
RTC0_Periph : aliased RTC_Peripheral
with Import, Address => System'To_Address (16#4000B000#);
-- Real time counter 1.
RTC1_Periph : aliased RTC_Peripheral
with Import, Address => System'To_Address (16#40011000#);
end NRF51_SVD.RTC;
|
rahulyhg/swaggy-jenkins | Ada | 15,048 | ads | -- Swaggy Jenkins
-- Jenkins API clients generated from Swagger / Open API specification
--
-- OpenAPI spec version: 1.0.0
-- Contact: [email protected]
--
-- NOTE: This package is auto generated by the swagger code generator 3.2.1-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manually.
with .Models;
with Swagger.Clients;
package .Clients is
type Client_Type is new Swagger.Clients.Client_Type with null record;
--
-- Delete queue item from an organization pipeline queue
procedure Delete_Pipeline_Queue_Item
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Queue : in Swagger.UString);
--
-- Retrieve authenticated user details for an organization
procedure Get_Authenticated_User
(Client : in out Client_Type;
Organization : in Swagger.UString;
Result : out .Models.User_Type);
--
-- Get a list of class names supported by a given class
procedure Get_Classes
(Client : in out Client_Type;
Class : in Swagger.UString;
Result : out Swagger.UString);
--
-- Retrieve JSON Web Key
procedure Get_Json_Web_Key
(Client : in out Client_Type;
Key : in Integer;
Result : out Swagger.UString);
--
-- Retrieve JSON Web Token
procedure Get_Json_Web_Token
(Client : in out Client_Type;
Expiry_Time_In_Mins : in Swagger.Nullable_Integer;
Max_Expiry_Time_In_Mins : in Swagger.Nullable_Integer;
Result : out Swagger.UString);
--
-- Retrieve organization details
procedure Get_Organisation
(Client : in out Client_Type;
Organization : in Swagger.UString;
Result : out .Models.Organisation_Type);
--
-- Retrieve all organizations details
procedure Get_Organisations
(Client : in out Client_Type;
Result : out .Models.Organisations_Type);
--
-- Retrieve pipeline details for an organization
procedure Get_Pipeline
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.Pipeline_Type);
--
-- Retrieve all activities details for an organization pipeline
procedure Get_Pipeline_Activities
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.PipelineActivities_Type);
--
-- Retrieve branch details for an organization pipeline
procedure Get_Pipeline_Branch
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Branch : in Swagger.UString;
Result : out .Models.BranchImpl_Type);
--
-- Retrieve branch run details for an organization pipeline
procedure Get_Pipeline_Branch_Run
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Branch : in Swagger.UString;
Run : in Swagger.UString;
Result : out .Models.PipelineRun_Type);
--
-- Retrieve all branches details for an organization pipeline
procedure Get_Pipeline_Branches
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.MultibranchPipeline_Type);
--
-- Retrieve pipeline folder for an organization
procedure Get_Pipeline_Folder
(Client : in out Client_Type;
Organization : in Swagger.UString;
Folder : in Swagger.UString;
Result : out .Models.PipelineFolderImpl_Type);
--
-- Retrieve pipeline details for an organization folder
procedure Get_Pipeline_Folder_Pipeline
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Folder : in Swagger.UString;
Result : out .Models.PipelineImpl_Type);
--
-- Retrieve queue details for an organization pipeline
procedure Get_Pipeline_Queue
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.PipelineQueue_Type);
--
-- Retrieve run details for an organization pipeline
procedure Get_Pipeline_Run
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Result : out .Models.PipelineRun_Type);
--
-- Get log for a pipeline run
procedure Get_Pipeline_Run_Log
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Start : in Swagger.Nullable_Integer;
Download : in Swagger.Nullable_Boolean;
Result : out Swagger.UString);
--
-- Retrieve run node details for an organization pipeline
procedure Get_Pipeline_Run_Node
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Node : in Swagger.UString;
Result : out .Models.PipelineRunNode_Type);
--
-- Retrieve run node details for an organization pipeline
procedure Get_Pipeline_Run_Node_Step
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Node : in Swagger.UString;
Step : in Swagger.UString;
Result : out .Models.PipelineStepImpl_Type);
--
-- Get log for a pipeline run node step
procedure Get_Pipeline_Run_Node_Step_Log
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Node : in Swagger.UString;
Step : in Swagger.UString;
Result : out Swagger.UString);
--
-- Retrieve run node steps details for an organization pipeline
procedure Get_Pipeline_Run_Node_Steps
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Node : in Swagger.UString;
Result : out .Models.PipelineRunNodeSteps_Type);
--
-- Retrieve run nodes details for an organization pipeline
procedure Get_Pipeline_Run_Nodes
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Result : out .Models.PipelineRunNodes_Type);
--
-- Retrieve all runs details for an organization pipeline
procedure Get_Pipeline_Runs
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.PipelineRuns_Type);
--
-- Retrieve all pipelines details for an organization
procedure Get_Pipelines
(Client : in out Client_Type;
Organization : in Swagger.UString;
Result : out .Models.Pipelines_Type);
--
-- Retrieve SCM details for an organization
procedure Get_S_C_M
(Client : in out Client_Type;
Organization : in Swagger.UString;
Scm : in Swagger.UString;
Result : out .Models.GithubScm_Type);
--
-- Retrieve SCM organization repositories details for an organization
procedure Get_S_C_M_Organisation_Repositories
(Client : in out Client_Type;
Organization : in Swagger.UString;
Scm : in Swagger.UString;
Scm_Organisation : in Swagger.UString;
Credential_Id : in Swagger.Nullable_UString;
Page_Size : in Swagger.Nullable_Integer;
Page_Number : in Swagger.Nullable_Integer;
Result : out .Models.ScmOrganisations_Type);
--
-- Retrieve SCM organization repository details for an organization
procedure Get_S_C_M_Organisation_Repository
(Client : in out Client_Type;
Organization : in Swagger.UString;
Scm : in Swagger.UString;
Scm_Organisation : in Swagger.UString;
Repository : in Swagger.UString;
Credential_Id : in Swagger.Nullable_UString;
Result : out .Models.ScmOrganisations_Type);
--
-- Retrieve SCM organizations details for an organization
procedure Get_S_C_M_Organisations
(Client : in out Client_Type;
Organization : in Swagger.UString;
Scm : in Swagger.UString;
Credential_Id : in Swagger.Nullable_UString;
Result : out .Models.ScmOrganisations_Type);
--
-- Retrieve user details for an organization
procedure Get_User
(Client : in out Client_Type;
Organization : in Swagger.UString;
User : in Swagger.UString;
Result : out .Models.User_Type);
--
-- Retrieve user favorites details for an organization
procedure Get_User_Favorites
(Client : in out Client_Type;
User : in Swagger.UString;
Result : out .Models.UserFavorites_Type);
--
-- Retrieve users details for an organization
procedure Get_Users
(Client : in out Client_Type;
Organization : in Swagger.UString;
Result : out .Models.User_Type);
--
-- Replay an organization pipeline run
procedure Post_Pipeline_Run
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Result : out .Models.QueueItemImpl_Type);
--
-- Start a build for an organization pipeline
procedure Post_Pipeline_Runs
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Result : out .Models.QueueItemImpl_Type);
--
-- Favorite/unfavorite a pipeline
procedure Put_Pipeline_Favorite
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Body_Type : in .Models.Body_Type;
Result : out .Models.FavoriteImpl_Type);
--
-- Stop a build of an organization pipeline
procedure Put_Pipeline_Run
(Client : in out Client_Type;
Organization : in Swagger.UString;
Pipeline : in Swagger.UString;
Run : in Swagger.UString;
Blocking : in Swagger.Nullable_UString;
Time_Out_In_Secs : in Swagger.Nullable_Integer;
Result : out .Models.PipelineRun_Type);
--
-- Search for any resource details
procedure Search
(Client : in out Client_Type;
Q : in Swagger.UString;
Result : out Swagger.UString);
--
-- Get classes details
procedure Search_Classes
(Client : in out Client_Type;
Q : in Swagger.UString;
Result : out Swagger.UString);
--
-- Retrieve computer details
procedure Get_Computer
(Client : in out Client_Type;
Depth : in Integer;
Result : out .Models.ComputerSet_Type);
--
-- Retrieve CSRF protection token
procedure Get_Crumb
(Client : in out Client_Type;
Result : out .Models.DefaultCrumbIssuer_Type);
--
-- Retrieve Jenkins details
procedure Get_Jenkins
(Client : in out Client_Type;
Result : out .Models.Hudson_Type);
--
-- Retrieve job details
procedure Get_Job
(Client : in out Client_Type;
Name : in Swagger.UString;
Result : out .Models.FreeStyleProject_Type);
--
-- Retrieve job configuration
procedure Get_Job_Config
(Client : in out Client_Type;
Name : in Swagger.UString;
Result : out Swagger.UString);
--
-- Retrieve job's last build details
procedure Get_Job_Last_Build
(Client : in out Client_Type;
Name : in Swagger.UString;
Result : out .Models.FreeStyleBuild_Type);
--
-- Retrieve job's build progressive text output
procedure Get_Job_Progressive_Text
(Client : in out Client_Type;
Name : in Swagger.UString;
Number : in Swagger.UString;
Start : in Swagger.UString);
--
-- Retrieve queue details
procedure Get_Queue
(Client : in out Client_Type;
Result : out .Models.Queue_Type);
--
-- Retrieve queued item details
procedure Get_Queue_Item
(Client : in out Client_Type;
Number : in Swagger.UString;
Result : out .Models.Queue_Type);
--
-- Retrieve view details
procedure Get_View
(Client : in out Client_Type;
Name : in Swagger.UString;
Result : out .Models.ListView_Type);
--
-- Retrieve view configuration
procedure Get_View_Config
(Client : in out Client_Type;
Name : in Swagger.UString;
Result : out Swagger.UString);
--
-- Retrieve Jenkins headers
procedure Head_Jenkins
(Client : in out Client_Type);
--
-- Create a new job using job configuration, or copied from an existing job
procedure Post_Create_Item
(Client : in out Client_Type;
Name : in Swagger.UString;
From : in Swagger.Nullable_UString;
Mode : in Swagger.Nullable_UString;
Jenkins_Crumb : in Swagger.Nullable_UString;
Content_Type : in Swagger.Nullable_UString;
P_Body : in Swagger.Nullable_UString);
--
-- Create a new view using view configuration
procedure Post_Create_View
(Client : in out Client_Type;
Name : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString;
Content_Type : in Swagger.Nullable_UString;
P_Body : in Swagger.Nullable_UString);
--
-- Build a job
procedure Post_Job_Build
(Client : in out Client_Type;
Name : in Swagger.UString;
Json : in Swagger.UString;
Token : in Swagger.Nullable_UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Update job configuration
procedure Post_Job_Config
(Client : in out Client_Type;
Name : in Swagger.UString;
P_Body : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Delete a job
procedure Post_Job_Delete
(Client : in out Client_Type;
Name : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Disable a job
procedure Post_Job_Disable
(Client : in out Client_Type;
Name : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Enable a job
procedure Post_Job_Enable
(Client : in out Client_Type;
Name : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Stop a job
procedure Post_Job_Last_Build_Stop
(Client : in out Client_Type;
Name : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
--
-- Update view configuration
procedure Post_View_Config
(Client : in out Client_Type;
Name : in Swagger.UString;
P_Body : in Swagger.UString;
Jenkins_Crumb : in Swagger.Nullable_UString);
end .Clients;
|
reznikmm/matreshka | Ada | 4,097 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with ODF.DOM.Draw_Handle_Range_Y_Minimum_Attributes;
package Matreshka.ODF_Draw.Handle_Range_Y_Minimum_Attributes is
type Draw_Handle_Range_Y_Minimum_Attribute_Node is
new Matreshka.ODF_Draw.Abstract_Draw_Attribute_Node
and ODF.DOM.Draw_Handle_Range_Y_Minimum_Attributes.ODF_Draw_Handle_Range_Y_Minimum_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Draw_Handle_Range_Y_Minimum_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Draw_Handle_Range_Y_Minimum_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Draw.Handle_Range_Y_Minimum_Attributes;
|
reznikmm/matreshka | Ada | 7,020 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Text.Index_Source_Style_Elements is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Text_Index_Source_Style_Element_Node is
begin
return Self : Text_Index_Source_Style_Element_Node do
Matreshka.ODF_Text.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Text_Prefix);
end return;
end Create;
----------------
-- Enter_Node --
----------------
overriding procedure Enter_Node
(Self : not null access Text_Index_Source_Style_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Enter_Text_Index_Source_Style
(ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Enter_Node (Visitor, Control);
end if;
end Enter_Node;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Text_Index_Source_Style_Element_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Index_Source_Style_Element;
end Get_Local_Name;
----------------
-- Leave_Node --
----------------
overriding procedure Leave_Node
(Self : not null access Text_Index_Source_Style_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Leave_Text_Index_Source_Style
(ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Leave_Node (Visitor, Control);
end if;
end Leave_Node;
----------------
-- Visit_Node --
----------------
overriding procedure Visit_Node
(Self : not null access Text_Index_Source_Style_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then
ODF.DOM.Iterators.Abstract_ODF_Iterator'Class
(Iterator).Visit_Text_Index_Source_Style
(Visitor,
ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Visit_Node (Iterator, Visitor, Control);
end if;
end Visit_Node;
begin
Matreshka.DOM_Documents.Register_Element
(Matreshka.ODF_String_Constants.Text_URI,
Matreshka.ODF_String_Constants.Index_Source_Style_Element,
Text_Index_Source_Style_Element_Node'Tag);
end Matreshka.ODF_Text.Index_Source_Style_Elements;
|
AdaCore/libadalang | Ada | 71 | adb | separate (Pkg.P_Body_1)
procedure Proc_4 is
begin
null;
end Proc_4;
|
reznikmm/matreshka | Ada | 4,651 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Visitors;
with ODF.DOM.Text_Ruby_Elements;
package Matreshka.ODF_Text.Ruby_Elements is
type Text_Ruby_Element_Node is
new Matreshka.ODF_Text.Abstract_Text_Element_Node
and ODF.DOM.Text_Ruby_Elements.ODF_Text_Ruby
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Text_Ruby_Element_Node;
overriding function Get_Local_Name
(Self : not null access constant Text_Ruby_Element_Node)
return League.Strings.Universal_String;
overriding procedure Enter_Node
(Self : not null access Text_Ruby_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Leave_Node
(Self : not null access Text_Ruby_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Visit_Node
(Self : not null access Text_Ruby_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
end Matreshka.ODF_Text.Ruby_Elements;
|
zhmu/ananas | Ada | 2,057 | adb | -- { dg-do run }
with Init6; use Init6;
with Text_IO; use Text_IO;
with Dump;
procedure P6 is
Local_R1 : R1;
Local_R2 : R2;
begin
Put ("My_R1 :");
Dump (My_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "My_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" }
Put ("My_R2 :");
Dump (My_R2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "My_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" }
Local_R1 := My_R1;
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" }
Local_R2 := My_R2;
Put ("Local_R2 :");
Dump (Local_R2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" }
Local_R1 := (I => 16#12345678#,
A => (16#AB0012#, 16#CD0034#, 16#EF0056#));
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" }
Local_R2 := (I => 16#12345678#,
A => (16#AB0012#, 16#CD0034#, 16#EF0056#));
Put ("Local_R2 :");
Dump (Local_R2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" }
Local_R1.I := Local_R2.I;
Local_R1.A(1) := Local_R2.A(1);
Local_R1.A(2) := Local_R2.A(2);
Local_R1.A(3) := Local_R2.A(3);
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" }
Local_R2.I := Local_R1.I;
Local_R2.A(1) := Local_R1.A(1);
Local_R2.A(2) := Local_R1.A(2);
Local_R2.A(3) := Local_R1.A(3);
Put ("Local_R2 :");
Dump (Local_R2'Address, R2'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" }
end;
|
AdaCore/gpr | Ada | 1,760 | adb | --
-- Copyright (C) 2020-2023, AdaCore
--
-- SPDX-License-Identifier: Apache-2.0
--
with Ada.Text_IO;
with GPR2.Context;
with GPR2.Log;
with GPR2.Path_Name;
with GPR2.Project.Registry.Attribute;
with GPR2.Project.Tree;
with GPR2.Project.Variable;
procedure Main is
Tree : GPR2.Project.Tree.Object;
Context : GPR2.Context.Object;
use GPR2;
procedure Print_Message is
begin
if Tree.Has_Messages then
for C in Tree.Log_Messages.Iterate
(False, True, True, True, True)
loop
Ada.Text_IO.Put_Line (GPR2.Log.Element (C).Format);
end loop;
end if;
end Print_Message;
procedure Print_Variable (Variable : GPR2.Project.Variable.Object) is
use GPR2.Project.Registry.Attribute;
begin
Ada.Text_IO.Put(String (Variable.Name.Text) & ":" & Variable.Kind'Img & "=");
if Variable.Kind = GPR2.Project.Registry.Attribute.Single then
Ada.Text_IO.Put_Line (Variable.Value.Text);
else
for V of Variable.Values loop
Ada.Text_IO.Put (V.Text & ";");
end loop;
Ada.Text_IO.Put_Line ("");
end if;
end Print_Variable;
procedure Test (Prj : GPR2.Filename_Type) is
begin
Ada.Text_IO.Put_Line (String (Prj) & ".gpr:");
Tree.Unload;
Tree.Load_Autoconf
(Filename => GPR2.Path_Name.Create_File
(GPR2.Project.Ensure_Extension (Prj),
GPR2.Path_Name.No_Resolution),
Context => Context);
for V of Tree.Root_Project.Variables loop
Print_Variable (V);
end loop;
exception
when Project_Error =>
Print_Message;
end Test;
begin
Test ("prj");
Test ("prj2");
Test ("prj3");
Test ("prj4");
end Main;
|
micahwelf/FLTK-Ada | Ada | 6,359 | adb |
with
Interfaces.C,
System;
use type
System.Address,
Interfaces.C.unsigned;
package body FLTK.Widgets.Groups.Windows.Single.Menu is
procedure menu_window_set_draw_hook
(W, D : in System.Address);
pragma Import (C, menu_window_set_draw_hook, "menu_window_set_draw_hook");
pragma Inline (menu_window_set_draw_hook);
procedure menu_window_set_handle_hook
(W, H : in System.Address);
pragma Import (C, menu_window_set_handle_hook, "menu_window_set_handle_hook");
pragma Inline (menu_window_set_handle_hook);
function new_fl_menu_window
(X, Y, W, H : in Interfaces.C.int;
Label : in Interfaces.C.char_array)
return System.Address;
pragma Import (C, new_fl_menu_window, "new_fl_menu_window");
pragma Inline (new_fl_menu_window);
function new_fl_menu_window2
(W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
return System.Address;
pragma Import (C, new_fl_menu_window2, "new_fl_menu_window2");
pragma Inline (new_fl_menu_window2);
procedure free_fl_menu_window
(M : in System.Address);
pragma Import (C, free_fl_menu_window, "free_fl_menu_window");
pragma Inline (free_fl_menu_window);
procedure fl_menu_window_show
(M : in System.Address);
pragma Import (C, fl_menu_window_show, "fl_menu_window_show");
pragma Inline (fl_menu_window_show);
procedure fl_menu_window_hide
(M : in System.Address);
pragma Import (C, fl_menu_window_hide, "fl_menu_window_hide");
pragma Inline (fl_menu_window_hide);
procedure fl_menu_window_flush
(M : in System.Address);
pragma Import (C, fl_menu_window_flush, "fl_menu_window_flush");
pragma Inline (fl_menu_window_flush);
procedure fl_menu_window_set_overlay
(M : in System.Address);
pragma Import (C, fl_menu_window_set_overlay, "fl_menu_window_set_overlay");
pragma Inline (fl_menu_window_set_overlay);
procedure fl_menu_window_clear_overlay
(M : in System.Address);
pragma Import (C, fl_menu_window_clear_overlay, "fl_menu_window_clear_overlay");
pragma Inline (fl_menu_window_clear_overlay);
function fl_menu_window_overlay
(M : in System.Address)
return Interfaces.C.unsigned;
pragma Import (C, fl_menu_window_overlay, "fl_menu_window_overlay");
pragma Inline (fl_menu_window_overlay);
procedure fl_menu_window_draw
(W : in System.Address);
pragma Import (C, fl_menu_window_draw, "fl_menu_window_draw");
pragma Inline (fl_menu_window_draw);
function fl_menu_window_handle
(W : in System.Address;
E : in Interfaces.C.int)
return Interfaces.C.int;
pragma Import (C, fl_menu_window_handle, "fl_menu_window_handle");
pragma Inline (fl_menu_window_handle);
procedure Finalize
(This : in out Menu_Window) is
begin
if This.Void_Ptr /= System.Null_Address and then
This in Menu_Window'Class
then
This.Clear;
free_fl_menu_window (This.Void_Ptr);
This.Void_Ptr := System.Null_Address;
end if;
Finalize (Single_Window (This));
end Finalize;
package body Forge is
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Menu_Window is
begin
return This : Menu_Window do
This.Void_Ptr := new_fl_menu_window
(Interfaces.C.int (X),
Interfaces.C.int (Y),
Interfaces.C.int (W),
Interfaces.C.int (H),
Interfaces.C.To_C (Text));
fl_group_end (This.Void_Ptr);
fl_widget_set_user_data
(This.Void_Ptr,
Widget_Convert.To_Address (This'Unchecked_Access));
menu_window_set_draw_hook (This.Void_Ptr, Draw_Hook'Address);
menu_window_set_handle_hook (This.Void_Ptr, Handle_Hook'Address);
end return;
end Create;
function Create
(W, H : in Integer;
Text : in String)
return Menu_Window is
begin
return This : Menu_Window do
This.Void_Ptr := new_fl_menu_window2
(Interfaces.C.int (W),
Interfaces.C.int (H),
Interfaces.C.To_C (Text));
fl_group_end (This.Void_Ptr);
fl_widget_set_user_data
(This.Void_Ptr,
Widget_Convert.To_Address (This'Unchecked_Access));
menu_window_set_draw_hook (This.Void_Ptr, Draw_Hook'Address);
menu_window_set_handle_hook (This.Void_Ptr, Handle_Hook'Address);
end return;
end Create;
end Forge;
procedure Show
(This : in out Menu_Window) is
begin
fl_menu_window_show (This.Void_Ptr);
end Show;
procedure Hide
(This : in out Menu_Window) is
begin
fl_menu_window_hide (This.Void_Ptr);
end Hide;
procedure Flush
(This : in out Menu_Window) is
begin
fl_menu_window_flush (This.Void_Ptr);
end Flush;
function Is_Overlay
(This : in Menu_Window)
return Boolean is
begin
return fl_menu_window_overlay (This.Void_Ptr) /= 0;
end Is_Overlay;
procedure Set_Overlay
(This : in out Menu_Window;
Value : in Boolean) is
begin
if Value then
fl_menu_window_set_overlay (This.Void_Ptr);
else
fl_menu_window_clear_overlay (This.Void_Ptr);
end if;
end Set_Overlay;
procedure Draw
(This : in out Menu_Window) is
begin
fl_menu_window_draw (This.Void_Ptr);
end Draw;
function Handle
(This : in out Menu_Window;
Event : in Event_Kind)
return Event_Outcome is
begin
return Event_Outcome'Val
(fl_menu_window_handle (This.Void_Ptr, Event_Kind'Pos (Event)));
end Handle;
end FLTK.Widgets.Groups.Windows.Single.Menu;
|
AdaCore/training_material | Ada | 310 | adb | procedure Main is
--$ begin cut
type Arr is array (1 .. 2) of Integer;
A : Arr := [3, 4];
B : Arr := [A with delta 1 => 0];
type Rec is record
I1, I2 : Integer;
end record;
C : Rec := (I1 => 3, I2 => 4);
D : Rec := (C with delta I1 => 0);
--$ end cut
begin
null;
end Main;
|
iyan22/AprendeAda | Ada | 7,595 | adb | with Ada.Text_Io, Ada.Integer_Text_Io; use Ada.Text_Io, Ada.Integer_Text_Io;
with matrices; use matrices;
with calcular_maximo;
procedure prueba_calcular_maximo is
-- este programa hace llamadas al procedimiento calcular_maximo y es util
-- para comprobar si su funcionamiento es correcto
M1: Matriz_De_Enteros(1..4, 1..10);
maximo, posFila, posCol: integer;
begin
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 1: el maximo al final de la matriz");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=19 y fila=4 y columna=10 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 2: el maximo al final de la primera fila");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=199 y fila=1 y columna=10 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 3: el maximo al final de la tercera fila");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=199 y fila=3 y columna=10 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1999, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 4: el maximo al comienzo de la matriz");
put_line(" Calcular_maximo((1999, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=1999 y fila=1 y columna=1 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(799, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 5: el maximo al comienzo de la ultima fila");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (799, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=799 y fila=4 y columna=1 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 1111, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 6: el maximo en el medio de la primera fila");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 1111, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=1111 y fila=1 y columna=6 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 1111, 13, 15, 17, 199),
(7, 3, 5, 7, 9, 11, 13, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 7: el maximo en el medio de una fila ni primera ni última");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 1111, 13, 15, 17, 199)");
put_line(" (7, 3, 5, 7, 9, 11, 13, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=1111 y fila=3 y columna=6 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
M1 := ((1, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(3, 3, 5, 7, 9, 11, 13, 15, 17, 1),
(5, 3, 5, 7, 9, 11, 13, 15, 17, 199),
(7, 3, 5, 7, 9, 11, 1311, 15, 17, 19));
-- esto es lo mismo que hacer M1(1,1) := 1; ... M1(4, 10) := 19;
put_line("Caso 8: el maximo en el medio de la ultima fila");
put_line(" Calcular_maximo((1, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (3, 3, 5, 7, 9, 11, 13, 15, 17, 1)");
put_line(" (5, 3, 5, 7, 9, 11, 13, 15, 17, 199)");
put_line(" (7, 3, 5, 7, 9, 11, 1311, 15, 17, 19)), maximo, posFila, posCol))");
put_line(" debe ser maximo=1311 y fila=4 y columna=7 y el resultado es ");
calcular_maximo(M1, maximo, posFila, posCol);
put(maximo); put(posFila); put(posCol);
new_line(3);
put_line("Pulsa return para continuar");
skip_line;
new_line(3);
end prueba_calcular_maximo;
|
zhmu/ananas | Ada | 1,295 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . N U M E R I C S . E L E M E N T A R Y _ F U N C T I O N S --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
with Ada.Numerics.Generic_Elementary_Functions;
package Ada.Numerics.Elementary_Functions is
new Ada.Numerics.Generic_Elementary_Functions (Float);
pragma Pure (Elementary_Functions);
|
reznikmm/matreshka | Ada | 4,684 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Visitors;
with ODF.DOM.Text_Subject_Elements;
package Matreshka.ODF_Text.Subject_Elements is
type Text_Subject_Element_Node is
new Matreshka.ODF_Text.Abstract_Text_Element_Node
and ODF.DOM.Text_Subject_Elements.ODF_Text_Subject
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Text_Subject_Element_Node;
overriding function Get_Local_Name
(Self : not null access constant Text_Subject_Element_Node)
return League.Strings.Universal_String;
overriding procedure Enter_Node
(Self : not null access Text_Subject_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Leave_Node
(Self : not null access Text_Subject_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
overriding procedure Visit_Node
(Self : not null access Text_Subject_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control);
end Matreshka.ODF_Text.Subject_Elements;
|
reznikmm/matreshka | Ada | 6,680 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Draw.G_Elements is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Draw_G_Element_Node is
begin
return Self : Draw_G_Element_Node do
Matreshka.ODF_Draw.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Draw_Prefix);
end return;
end Create;
----------------
-- Enter_Node --
----------------
overriding procedure Enter_Node
(Self : not null access Draw_G_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Enter_Draw_G
(ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Enter_Node (Visitor, Control);
end if;
end Enter_Node;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Draw_G_Element_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.G_Element;
end Get_Local_Name;
----------------
-- Leave_Node --
----------------
overriding procedure Leave_Node
(Self : not null access Draw_G_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Leave_Draw_G
(ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Leave_Node (Visitor, Control);
end if;
end Leave_Node;
----------------
-- Visit_Node --
----------------
overriding procedure Visit_Node
(Self : not null access Draw_G_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then
ODF.DOM.Iterators.Abstract_ODF_Iterator'Class
(Iterator).Visit_Draw_G
(Visitor,
ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Visit_Node (Iterator, Visitor, Control);
end if;
end Visit_Node;
begin
Matreshka.DOM_Documents.Register_Element
(Matreshka.ODF_String_Constants.Draw_URI,
Matreshka.ODF_String_Constants.G_Element,
Draw_G_Element_Node'Tag);
end Matreshka.ODF_Draw.G_Elements;
|
xeenta/learning-ada | Ada | 1,428 | adb | with Ada.Text_IO; use Ada.Text_IO;
procedure Steps_6 is
task Step_By_Step is
entry Step_One;
entry Step_Two;
end Step_By_Step;
task body Step_By_Step is
Waiting_Count : Natural := 1;
begin
loop
select
accept Step_One do
Put_Line ("1");
Waiting_Count := 1;
end Step_One;
or
accept Step_Two do
Put_Line ("2");
Waiting_Count := 1;
end Step_Two;
or
delay 3.0;
if Waiting_Count mod 4 = 0 then
Put_Line ("Hurry Up, call me!");
else
Put_Line ("No calls. Waiting for another 3 secs");
end if;
Waiting_Count := Waiting_Count + 1;
end select;
end loop;
end Step_By_Step;
begin
Put_Line ("I do my business for 5.5 secs");
delay 5.5;
Put_Line ("Stepping into 1");
Step_By_Step.Step_One;
Put_Line ("Again... I do my business in 3.5 secs");
delay 3.5;
Step_By_Step.Step_Two;
Put_Line ("Rest for 2 secs...");
delay 2.0;
Put_Line ("Wait...");
delay 1.5;
Put_Line ("Work hard 5 times!");
for I in Integer range 1 .. 5 loop
Put_Line ("** round " & Integer'Image (I));
Step_By_Step.Step_One;
delay 1.0;
Step_By_Step.Step_Two;
delay 1.0;
end loop;
Put_Line ("Tired... Bye!");
end;
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.