Lines Matching full:statement
49 /// Definition of a template statement.
51 /// A template statement is a particular line in the input file that is
53 /// representation of the contents of such statement and a mechanism to parse
89 /// Internal data describing the structure of a particular statement type.
91 /// The native type of the statement.
99 /// \param type_ The native type of the statement.
108 /// Mapping of statement type names to their definitions.
111 /// Description of the different statement types.
113 /// This static map is initialized once and reused later for any statement
140 /// The type of the statement.
143 /// The arguments to the statement, in textual form.
146 /// Creates a new statement.
148 /// \param type_ The type of the statement.
149 /// \param arguments_ The arguments to the statement.
167 /// Parses a statement.
169 /// \param line The textual representation of the statement without any
172 /// \return The parsed statement.
174 /// \throw text::syntax_error If the statement is not correctly defined.
183 throw text::syntax_error("Empty statement"); in parse()
187 throw text::syntax_error(F("Unknown statement '%s'") % words[0]); in parse()
192 "statement '%s'") % words[0]); in parse()
218 /// This position points to the line after the loop statement, not the loop
227 /// \param position_ Position of the next line after the loop statement.
250 /// Prefix that marks a line as a statement.
282 /// Checks if a line is a statement or not.
286 /// \return True if the line looks like a statement, which is determined by
297 /// Parses a given statement line into a statement definition.
299 /// \param line The line to validate; it must be a valid statement.
301 /// \return The parsed statement.
303 /// \throw text::syntax_error If the input is not a valid statement.
330 const statement_def statement = parse_statement(line); in handle_normal() local
332 switch (statement.type) { in handle_normal()
361 statement.arguments[0]); in handle_normal()
373 const loop_def loop(statement.arguments[0], statement.arguments[1], in handle_normal()
400 const statement_def statement = parse_statement(line); in handle_skip() local
401 switch (statement.type) { in handle_skip()