Gobo Eiffel XML Library
Copyright (c) 2002, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
$Date: 2005/07/13 19:48:59 $
$Revision: 1.5 $
-- Make dtd scanner.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Routines that ought to be in class ARRAY
-- (From KL_IMPORTED_ARRAY_ROUTINES)
-- Routines that ought to be in class ARRAY
-- (From KL_IMPORTED_ARRAY_ROUTINES)
-- Routines that ought to be in class ARRAY
-- (From KL_IMPORTED_ARRAY_ROUTINES)
-- Routines that ought to be in class ARRAY
-- (From KL_IMPORTED_ARRAY_ROUTINES)
-- Routines that ought to be in class SPECIAL
-- (From KL_IMPORTED_SPECIAL_ROUTINES)
-- Routines that ought to be in class SPECIAL
-- (From KL_IMPORTED_SPECIAL_ROUTINES)
-- Routines that ought to be in class SPECIAL
-- (From KL_IMPORTED_SPECIAL_ROUTINES)
-- Routines that ought to be in class SPECIAL
-- (From KL_IMPORTED_SPECIAL_ROUTINES)
-- Routines that ought to be in class SPECIAL
-- (From KL_IMPORTED_SPECIAL_ROUTINES)
-- Routines that ought to be in class STRING
-- (From KL_IMPORTED_STRING_ROUTINES)
-- Routines that ought to be in class ARRAY
-- (From KL_IMPORTED_ARRAY_ROUTINES)
-- Name of object being scanned
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Code of last token read
-- (0 means that the end-of-input has been reached,
-- non-positive values mean that an error occurred
-- (see header-comment of scanning_error.))
-- (From YY_SCANNER)
-- Semantic value of last token read
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Start condition
-- (From YY_SCANNER)
-- Text of last token read
-- (Create a new string at each call.)
-- (From YY_SCANNER)
-- i-th character of last token read
-- (From YY_SCANNER)
-- Substring of last token read
-- (Create a new string at each call.)
-- (For efficiency reason, this function bypasses the
-- call to text and creates the substring directly
-- from the input buffer.)
-- (From YY_SCANNER)
-- Column number of last token read when
-- '%option line' has been specified
-- (From YY_SCANNER)
-- Line number of last token read when
-- '%option line' has been specified
-- (From YY_SCANNER)
-- Position of last token read (i.e. number of
-- characters from the start of the input source)
-- when '%option position' has been specified
-- (From YY_SCANNER)
-- Number of characters in last token read
-- (From YY_SCANNER)
-- Has the end of input buffer been reached?
-- This means that last_token has been set
-- to 0 indicating "all done".
-- (From YY_SCANNER)
-- Has an error occurred during scanning?
-- This can occur when too many reject are called (and hence
-- nothing can be matched anymore) or when the option "nodefault"
-- (or option -s) has been specified but the default rule is
-- matched nevertheless.
-- (From YY_SCANNER)
-- Is sc a valid start condition?
-- (From YY_SCANNER)
-- Append text_substring at end of a_string.
-- (For efficiency reason, this feature bypasses
-- the call to text_substring and directly copies
-- the characters from the input buffer.)
-- (From YY_SCANNER)
-- Last character read by read_character
-- (From YY_SCANNER)
-- Return all but the first n matched
-- characters back to input_buffer.
-- (From YY_SCANNER)
-- Tell scanner to append the next matched token
-- to current value of text instead of
-- replacing it.
-- (From YY_SCANNER)
-- Read a character from input_buffer.
-- Make result available in last_character.
-- (From YY_SCANNER)
-- Direct scanner to proceed on the second best rule
-- which matched the input (when '%option reject'
-- has been specified).
-- (From YY_COMPRESSED_SCANNER_SKELETON)
-- Terminate scanner and set last_token
-- to 0 indicating "all done".
-- (From YY_SCANNER)
-- Put c back to input_buffer. This will alter both
-- text and the content of input_buffer.
-- (From YY_SCANNER)
-- Should current scanner terminate when end of file is reached?
-- This function can be redefined to switch to another input
-- buffer (but don't forget to update start_condition).
-- (default: True.)
-- (From YY_SCANNER)
-- Empty input buffer
-- (From YY_SCANNER)
-- Close input buffer if needed.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Flush input_buffer. input_buffer will be automatically
-- refilled unless end of file has been found.
-- (From YY_SCANNER)
-- Input buffer
-- (From YY_SCANNER)
-- New input buffer for a_file
-- (From YY_SCANNER)
-- New input buffer for a_string
-- (From YY_SCANNER)
-- Horrible hack that places the content of an external
-- DTD within a (DOCTYPE_DECL_START, DOCTYPE_DECL_END)
-- token pair.
-- (From YY_SCANNER)
-- Set input_buffer to a_buffer.
-- (From YY_SCANNER)
-- Set input buffer from a resolver's last resolved
-- stream and remember resolver to close it.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Set input buffer from a stream.
-- This class is then in charge of closing it.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Is this encoding known?
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Set encoding.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Push start condition 'dtd_ignore' to the stack.
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Reset.
-- (From YY_SCANNER)
-- Print to standard error debug information
-- about the last token read. Can be redefined
-- in descendant classes to print more information.
-- (Called at the end of read_token when compiled
-- with 'debug ("GELEX")' enabled).
-- (From YY_SCANNER)
-- A fatal error occurred.
-- (From YY_SCANNER)
-- Was there an error?
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Last error
-- (From XM_EIFFEL_SCANNER_SKELETON)
-- Action executed when default rule is matched.
-- (Note: this routine can be redefined in descendant classes.
-- Default: print last character read to standard output.)
-- (From YY_SCANNER)
-- Action executed after every semantic action
-- when '%option post-action' has been specified.
-- (Note: this routine can be redefined in descendant
-- classes. Default: do nothing.)
-- (From YY_SCANNER)
-- Action executed after every end-of-file semantic action
-- (i.e. <
-- (Note: this routine can be redefined in descendant classes.
-- Default: do nothing.)
-- (From YY_SCANNER)
-- Action executed before every semantic action
-- when '%option pre-action' has been specified.
-- (Note: this routine can be redefined in descendant
-- classes. Default: do nothing.)
-- (From YY_SCANNER)
-- Action executed before every end-of-file semantic action
-- (i.e. <
-- (Note: this routine can be redefined in descendant classes.
-- Default: do nothing.)
-- (From YY_SCANNER)
-- Scan input_buffer until end of file is found
-- or an error occurs.
-- (From YY_SCANNER)
Scanner adapter to external DTD