/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
parameter.rb | 7 def to_s method in class:ANTLR3.Template.Parameter 26 names = map { | param | param.name.to_s } 27 @splat and names << @splat.to_s 28 @block and names << @block.to_s 36 else Parameter.new( name.to_s ) 48 def to_s method in class:ANTLR3.Template.ParameterList 50 @splat and signature << ", *" << @splat.to_s 51 @block and signature << ", &" << @block.to_s
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
template.rb | 127 erb.def_method( sclass, 'to_s' ) 132 self::TEMPLATES.fetch( name.to_s ).new( values ) 140 self::TEMPLATES.has_key?( name.to_s ) 144 name = name.to_s.dup.freeze 147 ERB.new( source, nil, '%' ).def_method( tclass, 'to_s' ) 155 new_name, old_name = new_name.to_s.dup.freeze, old_name.to_s 156 context = self::TEMPLATES.fetch( old_name.to_s ) do 189 end.to_s 203 TEMPLATES[ #{ name.inspect } ].new( values ).to_s 288 def to_s method in class:Parameter 325 def to_s method in class:ParameterList [all...] |
util.rb | 10 str = str.to_s.gsub( /([A-Z]+)([A-Z][a-z])/,'\1_\2' ) 71 raise TypeError, #{ message.to_s.inspect } 84 extra_message and message << '; ' << extra_message.to_s
|
task.rb | 134 dir = options[ :output_directory ] and @output_directory = dir.to_s 143 else Shellwords.shellwords( opts.to_s ) 148 else Shellwords.shellwords( opts.to_s ) 220 token = token.to_s.dup 252 @path = path.to_s 429 @path = path.to_s
|
token.rb | 120 when Symbol then name == obj.to_s 186 channel == DEFAULT_CHANNEL or rep << " (#{ channel.to_s })" 202 def to_s method in class:ANTLR3.Token 203 text.to_s 564 name = name.to_s 606 name = name.to_s.freeze 625 token_names[ type_value ] = name.to_s.freeze 636 else const_defined?( name_or_value.to_s ) 643 else const_get( name_or_value.to_s ) rescue token_names.index( name_or_value )
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/sample-input/ |
template-group | 9 <%= attribute( *attr ).to_s.chomp %> 22 % case @access.to_s.downcase
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
record-event-listener.rb | 20 event_message = event_message.to_s
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-scope.rb | 16 @A.members.map( &:to_s ).should == %w( a b ) 17 @B.members.map( &:to_s ).should == %w( count ) 18 @C.members.map( &:to_s ).should == %w( a b c )
|
test-template.rb | 26 vars = context.instance_variables.map { | i | i.to_s } 96 @group.template_defined?( name.to_s ).should be_true 110 @group.private_instance_methods.should include name.to_s 139 | <%= attribute( :name => attr, :access => ( access || 'rw' ) ).to_s.chomp %> 151 | % case @access.to_s.downcase 180 MethodDescription.new( :to_s, '@name.to_s.dup' ) 190 vegetable.to_s.should == tidy( <<-END.chomp ) 200 | def to_s 201 | @name.to_s.du [all...] |
test-tree-wizard.rb | 217 imap.map { |type, nodes| [type, nodes.map { |n| n.to_s }] } 255 elements << node.to_s 267 elements << node.to_s 279 elements << node.to_s 291 elements << node.to_s 298 '%s@%s[%d]' % [node.to_s, (parent || 'nil').to_s, index] 329 elements << node.to_s 348 suffix = names.map { |n| labels[n].to_s }.join('&') 349 '%s@%s[%d]%s' % [node.to_s, (parent || 'nil').to_s, index, suffix [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
hetero-nodes.rb | 17 def to_s method in class:TestHeterogeneousNodeTypes.V 36 def to_s method in class:TestHeterogeneousNodeTypes.V 55 def to_s method in class:TestHeterogeneousNodeTypes.V 74 def to_s method in class:TestHeterogeneousNodeTypes.V 93 def to_s method in class:TestHeterogeneousNodeTypes.V 113 def to_s method in class:TestHeterogeneousNodeTypes.V 133 def to_s method in class:TestHeterogeneousNodeTypes.V 153 def to_s method in class:TestHeterogeneousNodeTypes.V 173 def to_s method in class:TestHeterogeneousNodeTypes.V 206 def to_s method in class:TestHeterogeneousNodeTypes.V 226 def to_s method in class:TestHeterogeneousNodeTypes.V 247 def to_s method in class:TestHeterogeneousNodeTypes.V 267 def to_s method in class:TestHeterogeneousNodeTypes.V 289 def to_s method in class:TestHeterogeneousNodeTypes.V 298 def to_s method in class:TestHeterogeneousNodeTypes.W 322 def to_s method in class:TestHeterogeneousNodeTypes.V 358 def to_s method in class:TestHeterogeneousNodeTypes.V 363 def to_s method in class:TestHeterogeneousNodeTypes.W 396 def to_s method in class:TestHeterogeneousNodeTypes.V 402 def to_s method in class:TestHeterogeneousNodeTypes.W 436 def to_s method in class:TestHeterogeneousNodeTypes.V 474 def to_s method in class:TestHeterogeneousNodeTypes.V 508 def to_s method in class:TestHeterogeneousNodeTypes.V 550 def to_s method in class:TestHeterogeneousNodeTypes.V 584 def to_s method in class:TestHeterogeneousNodeTypes.V [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/test/ |
coverage.rake | 55 input = base_path.join('tmp/coverage/lib').to_s 56 output = base_path.join('tmp/coverage/lib-cov').to_s 100 jasmine_node = base_path.join('node_modules/jasmine-node/bin/jasmine-node').to_s 101 spec = base_path.join('spec').to_s 109 covershot = base_path.join('node_modules/covershot/bin/covershot').to_s 110 data_dir = base_path.join('covershot/data').to_s
|
node.rake | 6 unless system 'jasmine-node', base_path.join('spec').to_s
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 34 def to_s method in class:Call 41 to_s.inspect
|
grammar.rb | 28 path = File.expand_path path.to_s 54 path = File.expand_path path.to_s 67 @path = path.to_s 239 token = token.to_s.dup 279 @source = source.to_s.fixed_indent( 0 ) 295 previous, @path = @path, v.to_s
|
functional.rb | 81 if g = grammars[ name.to_s ] 83 grammars.delete( name.to_s ) 110 path = local_path( name.to_s )
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/ |
prettify.rb | 7 $LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s 35 backtrace[0] += ": " + exception + " (" + exception.class.to_s + ")"
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
display-profiler-output | 139 @codeHash = json["hash"].to_s 140 @inferredName = json["inferredName"].to_s 141 @source = json["sourceCode"].to_s 147 @bytecode[index] = Bytecode.new(self, index, subJson["opcode"].to_s, subJson["description"].to_s) 154 if to_s.size > limit 157 to_s 161 def to_s method in class:Bytecodes 169 pattern == to_s 260 @description = json["description"].to_s 389 def to_s method in class:Compilation [all...] |
bencher | 338 unless result.to_s == arg 426 def to_s method in class:NoChange 450 def to_s method in class:Faster 470 def to_s method in class:Slower 490 def to_s method in class:MayBeSlower 596 def to_s method in class:Stats 618 basename = name[0] + @@counter.to_s + name[1] 620 basename = name + @@counter.to_s 908 def to_s method in class:VM 1008 def to_s method in class:Benchmark 1061 def to_s method in class:BenchmarkSuite 1141 def to_s method in class:BenchmarkOnVM 1188 def to_s method in class:SuiteOnVM 1212 def to_s method in class:BenchPlan [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
rewrite.rb | 39 TokenRewriteStream is a specialized form of CommonTokenStream that provides simple stream editing functionality. By creating <i>rewrite programs</i>, new text output can be created based upon the tokens in the stream. The basic token stream itself is preserved, and text output is rendered on demand using the #to_s method. 111 buffer << text.to_s 113 buffer << token.text.to_s if token 146 buffer << text.to_s unless text.nil? 247 prior_operation.text = operation.text << prior_operation.text.to_s 370 else programs[ name.to_s ] 418 when String, Symbol then name = arguments.shift.to_s
|
interactive.rb | 41 line = line.to_s.encode( Encoding::UTF_8 ) 77 @data << line.to_s
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
basic.rb | 234 error.to_s.should == %q<operation (replace @ 1..2 : "foo") overlaps with previous operation (replace @ 0..3 : "bar")> 245 error.to_s.should == %q<operation (insert-before @ 4 : "y") overlaps with previous operation (replace @ 2..4 : "x")> 256 error.to_s.should == %q<operation (replace @ 3..5 : "foo") overlaps with previous operation (replace @ 2..4 : "xyz")> 267 error.to_s.should == %q<operation (replace @ 1..3 : "foo") overlaps with previous operation (replace @ 2..4 : "xyz")>
|
via-parser.rb | 41 stat: ID '=' expr ';' {$body::decls << $ID.text.to_s}
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
rule-methods.rb | 126 mname = RUBY_VERSION =~ /^1\.9/ ? proc { | n | n.to_sym } : proc { | n | n.to_s }
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
ST.stg | 117 @input.to_s(return_value.start, @input.look(-1))
|