Home
last modified time | relevance | path

Searched refs:ScalarNode (Results 1 – 25 of 50) sorted by relevance

12

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructor.java34 import org.yaml.snakeyaml.nodes.ScalarNode;
48 protected Object constructCompactFormat(ScalarNode node, CompactData data) { in constructCompactFormat()
59 protected Object createInstance(ScalarNode node, CompactData data) throws Exception { in createInstance()
142 if (key instanceof ScalarNode) { in getConstructor()
143 ScalarNode scalar = (ScalarNode) key; in getConstructor()
149 } else if (node instanceof ScalarNode) { in getConstructor()
150 ScalarNode scalar = (ScalarNode) node; in getConstructor()
182 ScalarNode tmpNode = null; in construct()
188 tmpNode = (ScalarNode) nodeTuple.getKeyNode(); in construct()
191 tmpNode = (ScalarNode) node; in construct()
/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp274 yaml::ScalarNode *Key; in parseEntry()
279 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey()); in parseEntry()
304 parseRewriteFunctionDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteFunctionDescriptor()
313 yaml::ScalarNode *Key; in parseRewriteFunctionDescriptor()
314 yaml::ScalarNode *Value; in parseRewriteFunctionDescriptor()
319 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteFunctionDescriptor()
325 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor()
372 parseRewriteGlobalVariableDescriptor(yaml::Stream &YS, yaml::ScalarNode *K, in parseRewriteGlobalVariableDescriptor()
380 yaml::ScalarNode *Key; in parseRewriteGlobalVariableDescriptor()
381 yaml::ScalarNode *Value; in parseRewriteGlobalVariableDescriptor()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DBeanConstructor.java21 import org.yaml.snakeyaml.nodes.ScalarNode;
35 ScalarNode snode = (ScalarNode) node; in construct()
48 ScalarNode n = (ScalarNode) node; in construct()
/external/snakeyaml/src/test/java/examples/staticstate/
DStaticFieldsTest.java31 import org.yaml.snakeyaml.nodes.ScalarNode;
101 ScalarNode keyNode = (ScalarNode) tuple.getKeyNode(); in constructObject()
103 ScalarNode valueNode = (ScalarNode) tuple.getValueNode(); in constructObject()
106 ScalarNode valueNode = (ScalarNode) tuple.getValueNode(); in constructObject()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DYamlComposeTest.java25 import org.yaml.snakeyaml.nodes.ScalarNode;
43 ScalarNode node1 = (ScalarNode) node.getValue().get(0).getKeyNode(); in testComposeFromReader()
45 ScalarNode node2 = (ScalarNode) node.getValue().get(0).getValueNode(); in testComposeFromReader()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/
DNodeTest.java26 new ScalarNode(new Tag("!foo"), null, null, null, '"'); in testNode()
35 ScalarNode node = new ScalarNode(new Tag("!foo"), "Value1", null, null, '"'); in testSetTag()
46 Node node = new ScalarNode(new Tag("!foo"), "bla-bla", mark1, mark2, '"'); in testGetEndMark()
DNodeTupleTest.java23 Node node = new ScalarNode(new Tag("!tag"), "value1", null, null, null); in testNodeTuple1()
33 Node node = new ScalarNode(new Tag("!tag"), "value1", null, null, null); in testNodeTuple2()
43 Node key = new ScalarNode(Tag.STR, "key1", null, null, null); in testToString()
44 Node value = new ScalarNode(Tag.STR, "value1", null, null, null); in testToString()
DScalarNodeTest.java27 Node node = new ScalarNode(new Tag("str"), "text", null, null, '>'); in testGetNodeId()
32 Node node = new ScalarNode(new Tag("str"), "text", null, null, '>'); in testToString()
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp214 nodeToCommandLine(const std::vector<llvm::yaml::ScalarNode *> &Nodes) { in nodeToCommandLine()
261 llvm::yaml::ScalarNode *Directory = nullptr; in parse()
262 llvm::Optional<std::vector<llvm::yaml::ScalarNode *>> Command; in parse()
263 llvm::yaml::ScalarNode *File = nullptr; in parse()
265 llvm::yaml::ScalarNode *KeyString = in parse()
266 dyn_cast<llvm::yaml::ScalarNode>(NextKeyValue.getKey()); in parse()
278 llvm::yaml::ScalarNode *ValueString = in parse()
279 dyn_cast<llvm::yaml::ScalarNode>(Value); in parse()
292 Command = std::vector<llvm::yaml::ScalarNode *>(); in parse()
294 auto Scalar = dyn_cast<llvm::yaml::ScalarNode>(&Argument); in parse()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DBaseRepresenter.java32 import org.yaml.snakeyaml.nodes.ScalarNode;
115 Node node = new ScalarNode(tag, value, null, null, style); in representScalar()
134 if (!(nodeItem instanceof ScalarNode && ((ScalarNode) nodeItem).getStyle() == null)) { in representSequence()
157 if (!(nodeKey instanceof ScalarNode && ((ScalarNode) nodeKey).getStyle() == null)) { in representMapping()
160 if (!(nodeValue instanceof ScalarNode && ((ScalarNode) nodeValue).getStyle() == null)) { in representMapping()
DRepresenter.java34 import org.yaml.snakeyaml.nodes.ScalarNode;
89 if (((ScalarNode) tuple.getKeyNode()).getStyle() != null) { in representJavaBean()
93 if (!(nodeValue instanceof ScalarNode && ((ScalarNode) nodeValue).getStyle() == null)) { in representJavaBean()
122 ScalarNode nodeKey = (ScalarNode) representData(property.getName()); in representJavaBeanProperty()
/external/llvm/include/llvm/Transforms/Utils/
DSymbolRewriter.h46 class ScalarNode; variable
100 yaml::ScalarNode *Key,
104 yaml::ScalarNode *Key,
107 bool parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K,
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue111/
DLongUriTest.java24 import org.yaml.snakeyaml.nodes.ScalarNode;
42 ScalarNode scalar = (ScalarNode) node; in testLongURIEscape()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/
DScalarNode.java26 public class ScalarNode extends Node { class
30 public ScalarNode(Tag tag, String value, Mark startMark, Mark endMark, Character style) { in ScalarNode() method in ScalarNode
34 public ScalarNode(Tag tag, boolean resolved, String value, Mark startMark, Mark endMark, in ScalarNode() method in ScalarNode
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DFlexibleScalarStyleTest.java28 import org.yaml.snakeyaml.nodes.ScalarNode;
100 ScalarNode node = (ScalarNode) super.representData(data); in representData()
107 return new ScalarNode(node.getTag(), node.getValue(), node.getStartMark(), in representData()
DFlexibleScalarStylesInJavaBeanTest.java34 import org.yaml.snakeyaml.nodes.ScalarNode;
135 ScalarNode n = (ScalarNode) standard.getValueNode(); in representJavaBeanProperty()
136 return new NodeTuple(standard.getKeyNode(), new ScalarNode(n.getTag(), in representJavaBeanProperty()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
DFragmentComposer.java22 import org.yaml.snakeyaml.nodes.ScalarNode;
44 if (ScalarNode.class.isAssignableFrom(keyNode.getClass())) { in getSingleNode()
45 if (((ScalarNode) keyNode).getValue().equals(nodeName)) { in getSingleNode()
/external/clang/include/clang/Tooling/
DJSONCompilationDatabase.h108 typedef std::tuple<llvm::yaml::ScalarNode *,
109 llvm::yaml::ScalarNode *,
110 std::vector<llvm::yaml::ScalarNode *>> CompileCommandRef;
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DSafeConstructor.java40 import org.yaml.snakeyaml.nodes.ScalarNode;
158 constructScalar((ScalarNode) node); in construct()
175 String val = (String) constructScalar((ScalarNode) node); in construct()
182 String value = constructScalar((ScalarNode) node).toString().replaceAll("_", ""); in construct()
238 String value = constructScalar((ScalarNode) node).toString().replaceAll("_", ""); in construct()
270 byte[] decoded = Base64Coder.decode(constructScalar((ScalarNode) node).toString() in construct()
281 ScalarNode scalar = (ScalarNode) node; in construct()
315 ScalarNode scalar = (ScalarNode) node; in construct()
460 return constructScalar((ScalarNode) node); in construct()
/external/snakeyaml/src/test/java/examples/
DCustomBeanResolverTest.java27 import org.yaml.snakeyaml.nodes.ScalarNode;
61 String val = (String) constructScalar((ScalarNode) node); in construct()
67 String val = (String) constructScalar((ScalarNode) node); in construct()
DCustomImplicitResolverTest.java28 import org.yaml.snakeyaml.nodes.ScalarNode;
66 String val = (String) constructScalar((ScalarNode) node); in construct()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/serializer/
DSerializerTest.java26 import org.yaml.snakeyaml.nodes.ScalarNode;
65 serializer.serialize(new ScalarNode(new Tag("!foo"), "bar", null, null, (char) 0)); in testSerializerIsClosed2()
89 serializer.serialize(new ScalarNode(new Tag("!foo"), "bar", null, null, (char) 0)); in testSerializerIsNotOpened2()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java37 import org.yaml.snakeyaml.nodes.ScalarNode;
126 if (node1 instanceof ScalarNode) { in compareNodes()
127 ScalarNode scalar1 = (ScalarNode) node1; in compareNodes()
128 ScalarNode scalar2 = (ScalarNode) node2; in compareNodes()
265 return constructScalar((ScalarNode) node); in construct()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DPrefixConstructorTest.java24 import org.yaml.snakeyaml.nodes.ScalarNode;
83 return new Extra(suffix, con.constructScalar((ScalarNode) node).toString()); in construct()
98 return new Extra("Item", con.constructScalar((ScalarNode) node).toString()); in construct()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DRepresentTest.java24 import org.yaml.snakeyaml.nodes.ScalarNode;
85 String val = (String) constructScalar((ScalarNode) node); in construct()

12