Home | History | Annotate | Download | only in include

Lines Matching refs:input

3  * streams from any input source. Any character size and encoding
6 * to specific offsets into their input streams.
52 /// Master context structure for an ANTLR3 C runtime based input stream.
63 /** Whatever super structure is providing the INPUT stream needs a pointer to itself
69 /** Pointer the start of the input string, characters may be
70 * taken as offsets from here and in original input format encoding.
79 /** String factory for this input stream
84 /** Pointer to the next character to be consumed from the input data
86 * was read by the functions installed as pointer in this input stream
93 * input source is a stream such as a socket or something then we may
94 * call special read code to wait for more input.
98 /** The line number we are traversing in the input file. This gets incremented
103 /** Pointer into the input buffer where the current line
116 /** List of mark() points in the input stream
132 /** Pointer to function that closes the input stream
134 void (*close) (struct ANTLR3_INPUT_STREAM_struct * input);
135 void (*free) (struct ANTLR3_INPUT_STREAM_struct * input);
137 /** Pointer to function that resets the input stream
139 void (*reset) (struct ANTLR3_INPUT_STREAM_struct * input);
141 /** Pointer to a function that reuses and resets an input stream by
144 void (*reuse) (struct ANTLR3_INPUT_STREAM_struct * input, pANTLR3_UINT8 inString, ANTLR3_UINT32 size, pANTLR3_UINT8 name);
152 void (*setUcaseLA) (pANTLR3_INPUT_STREAM input, ANTLR3_BOOLEAN flag);
154 /** Pointer to function to return input stream element at 1 based
158 void * (*_LT) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_INT32 lt);
160 /** Pointer to function to return the total size of the input buffer. For streams
162 * the input stream must be careful to accumulate enough input so that any backtracking
165 ANTLR3_UINT32 (*size) (struct ANTLR3_INPUT_STREAM_struct * input);
167 /** Pointer to function to return a substring of the input stream. String is returned in allocated
168 * memory and is in same encoding as the input stream itself, NOT internal ANTLR3_UCHAR form.
170 pANTLR3_STRING (*substr) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_MARKER start, ANTLR3_MARKER stop);
172 /** Pointer to function to return the current line number in the input stream
174 ANTLR3_UINT32 (*getLine) (struct ANTLR3_INPUT_STREAM_struct * input);
176 /** Pointer to function to return the current line buffer in the input stream
177 * The pointer returned is directly into the input stream so you must copy
178 * it if you wish to manipulate it without damaging the input stream. Encoding
179 * is obviously in the same form as the input stream.
182 * is no way at the moment to position the input stream at a particular line
185 void * (*getLineBuf) (struct ANTLR3_INPUT_STREAM_struct * input);
187 /** Pointer to function to return the current offset in the current input stream line
189 ANTLR3_UINT32 (*getCharPositionInLine) (struct ANTLR3_INPUT_STREAM_struct * input);
191 /** Pointer to function to set the current line number in the input stream
193 void (*setLine) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_UINT32 line);
197 void (*setCharPositionInLine) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_UINT32 position);
199 /** Pointer to function to override the default newline character that the input stream
204 * current line offset is reset to 0. The Pointer for the line of input we are consuming
205 * is updated to point to the next character after this one in the input stream (which means it
210 * - This is only a simple aid to error reporting - if you have a complicated binary input structure
211 * it may not be adequate, but you can always override every function in the input stream with your
212 * own of course, and can even write your own complete input stream set if you like.
213 * - It is your responsiblity to set a valid character for the input stream type. There is no point
214 * setting this to 0xFFFFFFFF if the input stream is 8 bit ASCII, as this will just be truncated and never
217 void (*SetNewLineChar) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_UINT32 newlineChar);
232 /// Indicates the encoding scheme used in this input stream
240 /** \brief Structure for track lex input states as part of mark()
245 /** Pointer to the next character to be consumed from the input data
247 * was read by the functions installed as pointer in this input stream
252 /** The line number we are traversing in the input file. This gets incremented
257 /** Pointer into the input buffer where the current line
271 void antlr38BitSetupStream (pANTLR3_INPUT_STREAM input);
272 void antlr3UTF16SetupStream (pANTLR3_INPUT_STREAM input, ANTLR3_BOOLEAN machineBigEndian, ANTLR3_BOOLEAN inputBigEndian);
273 void antlr3UTF32SetupStream (pANTLR3_INPUT_STREAM input, ANTLR3_BOOLEAN machineBigEndian, ANTLR3_BOOLEAN inputBigEndian);
274 void antlr3UTF8SetupStream (pANTLR3_INPUT_STREAM input);
275 void antlr3EBCDICSetupStream (pANTLR3_INPUT_STREAM input);
276 void antlr3GenericSetupStream (pANTLR3_INPUT_STREAM input);