/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/ |
H A D | nodes.rb | 21 # Psych::Nodes contains all of the classes that make up the nodes of a YAML 30 # stream = Psych::Nodes::Stream.new 31 # doc = Psych::Nodes::Document.new 32 # seq = Psych::Nodes::Sequence.new 33 # scalar = Psych::Nodes::Scalar.new('foo') 50 # A valid YAML AST *must* have one Psych::Nodes::Stream at the root. A 51 # Psych::Nodes::Stream node must have 1 or more Psych::Nodes::Document nodes 54 # Psych::Nodes::Document nodes must have one and *only* one child. That child 57 # * Psych::Nodes 75 module Nodes module in class:Psych [all...] |
H A D | tree_builder.rb | 33 n = Nodes::#{node}.new(anchor, tag, implicit, style) 50 n = Nodes::Document.new version, tag_directives, implicit 66 @root = Nodes::Stream.new(encoding) 75 s = Nodes::Scalar.new(value,anchor,tag,plain,quoted,style) 81 @last.children << Nodes::Alias.new(anchor)
|
H A D | streaming.rb | 12 def start encoding = Nodes::Stream::UTF8
|
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/nodes/ |
H A D | alias.rb | 2 module Nodes module in class:Psych 7 # A Psych::Nodes::Alias is a terminal node and may have no children. 8 class Alias < Psych::Nodes::Node
|
H A D | document.rb | 2 module Nodes module in class:Psych 5 # Psych::Nodes::Stream. A Psych::Nodes::Document must have one child, 8 # * Psych::Nodes::Sequence 9 # * Psych::Nodes::Mapping 10 # * Psych::Nodes::Scalar 11 class Document < Psych::Nodes::Node 25 # Create a new Psych::Nodes::Document object. 36 # Psych::Nodes::Document.new(
|
H A D | mapping.rb | 2 module Nodes module in class:Psych 6 # A Psych::Nodes::Mapping node may have 0 or more children, but must have 8 # Psych::Nodes::Mapping node may have: 10 # * Psych::Nodes::Sequence 11 # * Psych::Nodes::Mapping 12 # * Psych::Nodes::Scalar 13 # * Psych::Nodes::Alias 14 class Mapping < Psych::Nodes::Node 37 # Create a new Psych::Nodes::Mapping object.
|
H A D | sequence.rb | 2 module Nodes module in class:Psych 33 # Psych::Nodes::Sequence node may have 0 or more children. Valid children 36 # * Psych::Nodes::Sequence 37 # * Psych::Nodes::Mapping 38 # * Psych::Nodes::Scalar 39 # * Psych::Nodes::Alias 40 class Sequence < Psych::Nodes::Node
|
H A D | stream.rb | 2 module Nodes module in class:Psych 6 # child node for a Psych::Nodes::Stream node is Psych::Nodes::Document. 7 class Stream < Psych::Nodes::Node 27 # Create a new Psych::Nodes::Stream node with an +encoding+ that 28 # defaults to Psych::Nodes::Stream::UTF8.
|
H A D | scalar.rb | 2 module Nodes module in class:Psych 7 class Scalar < Psych::Nodes::Node 45 # Create a new Psych::Nodes::Scalar object.
|
H A D | node.rb | 4 module Nodes module in class:Psych 17 # Create a new Psych::Nodes::Node
|
/macosx-10.9.5/ruby-104/ruby/test/psych/visitors/ |
H A D | test_to_ruby.rb | 13 mapping = Nodes::Mapping.new nil, "!ruby/object" 14 mapping.children << Nodes::Scalar.new('foo') 15 mapping.children << Nodes::Scalar.new('bar') 59 mapping = Nodes::Mapping.new nil, "!ruby/struct:#{s.class}" 60 mapping.children << Nodes::Scalar.new('foo') 61 mapping.children << Nodes::Scalar.new('bar') 73 mapping = Nodes::Mapping.new nil, '!ruby/struct:' 74 mapping.children << Nodes::Scalar.new('foo') 75 mapping.children << Nodes::Scalar.new('bar') 83 mapping = Nodes [all...] |
H A D | test_emitter.rb | 16 s = Nodes::Stream.new 17 doc = Nodes::Document.new 18 mapping = Nodes::Mapping.new 19 m2 = Nodes::Mapping.new 20 m2.children << Nodes::Scalar.new('a') 21 m2.children << Nodes::Scalar.new('b') 23 mapping.children << Nodes::Scalar.new('key') 33 s = Nodes::Stream.new 39 s = Nodes::Stream.new 40 doc = Nodes [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/json/ |
H A D | ruby_events.rb | 6 @emitter.scalar formatted, nil, nil, false, true, Nodes::Scalar::DOUBLE_QUOTED 14 @emitter.scalar o.to_s, nil, nil, false, true, Nodes::Scalar::DOUBLE_QUOTED
|
H A D | yaml_events.rb | 13 super(anchor, nil, true, Nodes::Mapping::FLOW) 17 super(anchor, nil, true, Nodes::Sequence::FLOW) 22 super('null', nil, nil, true, false, Nodes::Scalar::PLAIN)
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ |
H A D | CallGraphSCCPass.h | 82 std::vector<CallGraphNode*> Nodes; member in class:llvm::CallGraphSCC 87 Nodes.assign(I, E); 90 bool isSingular() const { return Nodes.size() == 1; } 91 unsigned size() const { return Nodes.size(); } 98 iterator begin() const { return Nodes.begin(); } 99 iterator end() const { return Nodes.end(); }
|
/macosx-10.9.5/ruby-104/ruby/test/psych/ |
H A D | test_tree_builder.rb | 22 assert_instance_of Nodes::Stream, @tree 27 assert_instance_of Nodes::Document, @tree.children.first 40 assert_instance_of Nodes::Sequence, seq 44 assert_equal Nodes::Sequence::BLOCK, seq.style 53 assert_instance_of Nodes::Scalar, scalar 59 assert_equal Nodes::Scalar::PLAIN, scalar.style 67 assert_instance_of Nodes::Mapping, map 75 assert_instance_of Nodes::Alias, al
|
H A D | test_emitter.rb | 34 @emitter.start_stream Psych::Nodes::Stream::UTF8 49 @emitter.start_stream Psych::Nodes::Stream::UTF8 65 @emitter.start_stream Psych::Nodes::Stream::UTF8 82 @emitter.start_stream Psych::Nodes::Stream::UTF8
|
H A D | test_parser.rb | 207 assert_called :start_mapping, ["tag:yaml.org,2002:map", false, Nodes::Mapping::FLOW] 212 assert_called :start_mapping, ['A', true, Nodes::Mapping::FLOW] 217 assert_called :start_mapping, [true, Nodes::Mapping::BLOCK] 223 assert_called :start_mapping, [true, Nodes::Mapping::FLOW] 233 assert_called :start_sequence, ["A", true, Nodes::Sequence::FLOW] 238 assert_called :start_sequence, ["tag:yaml.org,2002:seq", false, Nodes::Sequence::FLOW] 243 assert_called :start_sequence, [true, Nodes::Sequence::FLOW] 248 assert_called :start_sequence, [true, Nodes::Sequence::BLOCK] 258 assert_called :scalar, ['literal text ', false, true, Nodes::Scalar::DOUBLE_QUOTED] 263 assert_called :scalar, ['foo', true, false, Nodes [all...] |
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/visitors/ |
H A D | yaml_tree.rb | 8 # builder.tree # => #<Psych::Nodes::Stream .. } 60 def start encoding = Nodes::Stream::UTF8 133 seq = @emitter.start_sequence(nil, '!omap', false, Nodes::Sequence::BLOCK) 147 map = @emitter.start_mapping(nil, tag, false, Nodes::Mapping::BLOCK) 157 register o, @emitter.start_mapping(nil, tag, false, Nodes::Mapping::BLOCK) 159 @emitter.scalar member.to_s, nil, nil, true, false, Nodes::Scalar::ANY 171 @emitter.start_mapping nil, tag, false, Nodes::Mapping::BLOCK 178 @emitter.scalar k, nil, nil, true, false, Nodes::Scalar::ANY 188 register o, @emitter.scalar(o.inspect, nil, '!ruby/regexp', false, false, Nodes::Scalar::ANY) 194 register o, @emitter.scalar(formatted, nil, tag, false, false, Nodes [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/ |
H A D | IntervalMap.cpp | 120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, argument 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); 125 if (!Nodes) 129 const unsigned PerNode = (Elements + Grow) / Nodes; 130 const unsigned Extra = (Elements + Grow) % Nodes; 131 IdxPair PosPair = IdxPair(Nodes, 0); 133 for (unsigned n = 0; n != Nodes; ++n) { 135 if (PosPair.first == Nodes && Sum > Position) 142 assert(PosPair.first < Nodes && "Bad algebra"); 149 for (unsigned n = 0; n != Nodes; [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/ |
H A D | Interval.h | 48 Nodes.push_back(Header); 52 : HeaderNode(I.HeaderNode), Nodes(I.Nodes), Successors(I.Successors) {} 56 /// Nodes - The basic blocks in this interval. 58 std::vector<BasicBlock*> Nodes; member in class:llvm::Interval 73 for (unsigned i = 0; i < Nodes.size(); ++i) 74 if (Nodes[i] == BB) return true; 77 //return find(Nodes.begin(), Nodes.end(), BB) != Nodes [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/ |
H A D | Interval.cpp | 45 for (std::vector<BasicBlock*>::const_iterator I = Nodes.begin(), 46 E = Nodes.end(); I != E; ++I)
|
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/handlers/ |
H A D | document_stream.rb | 12 n = Nodes::Document.new version, tag_directives, implicit
|
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/ |
H A D | psych_tree.rb | 11 quote = Psych::Nodes::Scalar::SINGLE_QUOTED
|
/macosx-10.9.5/ruby-104/ruby/test/psych/nodes/ |
H A D | test_enumerable.rb | 4 module Nodes module in class:Psych
|