Lines Matching refs:opt
388 def setup_options( opt )
391 opt.separator ""
392 opt.separator( "Parser Configuration:" )
394 opt.on( '--lexer-name CLASS_NAME', "name of the lexer class to use" ) { |val|
399 opt.on( '--lexer-file PATH_TO_LIBRARY', "path to library defining the lexer class" ) { |val|
407 opt.on( '--rule NAME', "name of the parser rule to execute" ) { |val| @parser_rule = val }
410 opt.separator ''
411 opt.separator "Debug Mode Options:"
413 opt.on( '--trace', '-t', "print rule trace instead of opening a debug socket" ) do
417 opt.on( '--port NUMBER', Integer, "port number to use for the debug socket" ) do |number|
421 opt.on( '--log PATH', "path of file to use to record socket activity",
502 def setup_options( opt )
505 opt.separator ''
506 opt.separator "Tree Parser Configuration:"
508 opt.on( '--lexer-name CLASS_NAME', 'full name of the lexer class to use' ) { |val| @lexer_class_name = val }
509 opt.on(
520 opt.on(
524 opt.on(
535 opt.on( '--parser-rule NAME', "name of the parser rule to use on the input" ) { |val| @parser_rule = val }
536 opt.on( '--rule NAME', "name of the rule to invoke in the tree parser" ) { |val| @walker_rule = val }
539 opt.separator ''
540 opt.separator "Debug Mode Options:"
542 opt.on( '--port NUMBER', Integer, "port number to use for the debug socket" ) do |number|
545 opt.on( '--log PATH', "path of file to use to record socket activity",