Lines Matching full:print

67             print "  rbbicst: at line $line-num duplicate definition of state $state_name\n";
104print " rbbicsts: at line $line_num, bad character literal or character class name.\n";
105 print " scanning $fields[0]\n";
125 print " rbbicsts: at line $line_num, destination state missing.\n";
137 print " rbbicsts: at line $line_num, expected state after ^ (no spaces).\n";
155 print " rbbicsts: at line $line_num, unexpected extra stuff on input line.\n";
156 print " scanning $fields[0]\n";
194print "Error at line $state_line_num[$state]: target state \"$state_dest_state[$state]\" is not de…
198print "Error at line $state_line_num[$state]: target state \"$state_push_state[$state]\" is not de…
236 print "/*\n";
237 print " *******************************************************************************\n";
238 print " * Copyright (C) 2003-$year,\n";
239 print " * International Business Machines Corporation and others. All Rights Reserved.\n";
240 print " *******************************************************************************\n";
241 print " */\n";
242 print " \n";
243 print "package com.ibm.icu.text;\n";
244 print " \n";
245 print "/**\n";
246 print " * Generated Java File. Do not edit by hand.\n";
247 print " * This file contains the state table for the ICU Rule Based Break Iterator\n";
248 print " * rule parser.\n";
249 print " * It is generated by the Perl script \"rbbicst.pl\" from\n";
250 print " * the rule parser state definitions file \"rbbirpt.txt\".\n";
251 print " * \@internal \n";
252 print " *\n";
253 print " */\n";
255 print "class RBBIRuleParseTable\n";
256 print "{\n";
263 print " static final short $act = $n;\n";
266 print " \n";
272 print " static final short kRuleSet_$setName = $charClasses{$setName};\n";
274 print "\n\n";
277 print " static class RBBIRuleTableElement { \n";
278 print " short fAction; \n";
279 print " short fCharClass; \n";
280 print " short fNextState; \n";
281 print " short fPushState; \n";
282 print " boolean fNextChar; \n";
283 print " String fStateName; \n";
284print " RBBIRuleTableElement(short a, int cc, int ns, int ps, boolean nc, String sn) { \n";
285 print " fAction = a; \n";
286 print " fCharClass = (short)cc; \n";
287 print " fNextState = (short)ns; \n";
288 print " fPushState = (short)ps; \n";
289 print " fNextChar = nc; \n";
290 print " fStateName = sn; \n";
291 print " } \n";
292 print " }; \n";
293 print " \n";
296 print " static RBBIRuleTableElement[] gRuleParseStateTable = { \n ";
297print " new RBBIRuleTableElement(doNOP, 0, 0,0, true, null ) // 0 \n"; #output the u…
299 print " , new RBBIRuleTableElement($state_func_name[$state],";
302 print("'$c', ");
304 print " $charClasses{$state_char_class[$state]},";
306 print " $states{$state_dest_state[$state]},";
311 print "0, ";
313 print " $states{$state_push_state[$state]},";
315 print " $state_flag[$state], ";
319 print " \"$stateNames[$state]\") ";
321 print " null ) ";
325 print " // $state ";
326 print "\n";
328 print " };\n";
330 print "}; \n";
340 print "//---------------------------------------------------------------------------------\n";
341 print "//\n";
342 print "// Generated Header File. Do not edit by hand.\n";
343 print "// This file contains the state table for the ICU Rule Based Break Iterator\n";
344 print "// rule parser.\n";
345 print "// It is generated by the Perl script \"rbbicst.pl\" from\n";
346 print "// the rule parser state definitions file \"rbbirpt.txt\".\n";
347 print "//\n";
348 print "// Copyright (C) 2002-$year International Business Machines Corporation \n";
349 print "// and others. All rights reserved. \n";
350 print "//\n";
351 print "//---------------------------------------------------------------------------------\n";
352 print "#ifndef RBBIRPT_H\n";
353 print "#define RBBIRPT_H\n";
354 print "\n";
355 print "#include \"unicode/utypes.h\"\n";
356 print "\n";
357 print "U_NAMESPACE_BEGIN\n";
364 print "//\n";
365 print "// Character classes for RBBI rule scanning.\n";
366 print "//\n";
370 print " static const uint8_t kRuleSet_$setName = $charClasses{$setName};\n";
373 print "\n\n";
378 print "enum RBBI_RuleParseAction {\n";
380 print " $act,\n";
382 print " rbbiLastAction};\n\n";
387 print "//-------------------------------------------------------------------------------\n";
388 print "//\n";
389 print "// RBBIRuleTableEl represents the structure of a row in the transition table\n";
390 print "// for the rule parser state machine.\n";
391 print "//-------------------------------------------------------------------------------\n";
392 print "struct RBBIRuleTableEl {\n";
393 print " RBBI_RuleParseAction fAction;\n";
394print " uint8_t fCharClass; // 0-127: an individual ASCII charac…
395print " // 128-255: character class index\n";
396print " uint8_t fNextState; // 0-250: normal next-stat numbers\n…
397print " // 255: pop next-state from stack.…
398 print " uint8_t fPushState;\n";
399 print " UBool fNextChar;\n";
400 print "};\n\n";
405 print "static const struct RBBIRuleTableEl gRuleParseStateTable[] = {\n";
406print " {doNOP, 0, 0, 0, TRUE}\n"; # State 0 is a dummy. Real states start with index = 1.
408 print " , {$state_func_name[$state],";
413 print " $charClasses{$state_char_class[$state]},";
415 print " $states{$state_dest_state[$state]},";
420 print "0, ";
422 print " $states{$state_push_state[$state]},";
424 print " $state_flag[$state]} ";
428 print " // $state ";
430 print " $stateNames[$state]";
432 print "\n";
434 print " };\n";
442 print "#ifdef RBBI_DEBUG\n";
443 print "static const char * const RBBIRuleStateNames[] = {";
446 print " \"$stateNames[$state]\",\n";
448 print " 0,\n";
451 print " 0};\n";
452 print "#endif\n\n";
454 print "U_NAMESPACE_END\n";
455 print "#endif\n";