/external/chromium_org/tools/gn/ |
D | parser.h | 18 typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token); 19 typedef scoped_ptr<ParseNode> (Parser::*InfixFunc)(scoped_ptr<ParseNode> left, 34 static scoped_ptr<ParseNode> Parse(const std::vector<Token>& tokens, 38 static scoped_ptr<ParseNode> ParseExpression(const std::vector<Token>& tokens, 41 scoped_ptr<ParseNode> ParseExpression(); 49 scoped_ptr<ParseNode> ParseExpression(int precedence); 52 scoped_ptr<ParseNode> Literal(Token token); 53 scoped_ptr<ParseNode> Name(Token token); 54 scoped_ptr<ParseNode> Group(Token token); 55 scoped_ptr<ParseNode> Not(Token token); [all …]
|
D | parser.cc | 107 scoped_ptr<ParseNode> Parser::Parse(const std::vector<Token>& tokens, in Parse() 110 return p.ParseFile().PassAs<ParseNode>(); in Parse() 114 scoped_ptr<ParseNode> Parser::ParseExpression(const std::vector<Token>& tokens, in ParseExpression() 120 bool Parser::IsAssignment(const ParseNode* node) const { in IsAssignment() 188 scoped_ptr<ParseNode> Parser::ParseExpression() { in ParseExpression() 192 scoped_ptr<ParseNode> Parser::ParseExpression(int precedence) { in ParseExpression() 194 return scoped_ptr<ParseNode>(); in ParseExpression() 203 return scoped_ptr<ParseNode>(); in ParseExpression() 206 scoped_ptr<ParseNode> left = (this->*prefix)(token); in ParseExpression() 218 return scoped_ptr<ParseNode>(); in ParseExpression() [all …]
|
D | parse_tree.h | 70 class ParseNode { 72 ParseNode(); 73 virtual ~ParseNode(); 107 DISALLOW_COPY_AND_ASSIGN(ParseNode); 135 class AccessorNode : public ParseNode { 154 const ParseNode* index() const { return index_.get(); } in index() 155 void set_index(scoped_ptr<ParseNode> i) { index_ = i.Pass(); } in set_index() 170 scoped_ptr<ParseNode> index_; 178 class BinaryOpNode : public ParseNode { 194 const ParseNode* left() const { return left_.get(); } in left() [all …]
|
D | value.h | 16 class ParseNode; variable 32 Value(const ParseNode* origin, Type t); 33 Value(const ParseNode* origin, bool bool_val); 34 Value(const ParseNode* origin, int64 int_val); 35 Value(const ParseNode* origin, std::string str_val); 36 Value(const ParseNode* origin, const char* str_val); 42 Value(const ParseNode* origin, scoped_ptr<Scope> scope); 55 const ParseNode* origin() const { return origin_; } in origin() 56 void set_origin(const ParseNode* o) { origin_ = o; } in set_origin() 129 const ParseNode* origin_;
|
D | operators_unittest.cc | 30 list->append_item(scoped_ptr<ParseNode>(new LiteralNode(token))); in ListWithLiteral() 52 node.set_left(scoped_ptr<ParseNode>(new IdentifierNode(identifier_token))); in TEST() 62 node.set_right(ListWithLiteral(integer).PassAs<ParseNode>()); in TEST() 69 node.set_right(ListWithLiteral(string_1).PassAs<ParseNode>()); in TEST() 76 node.set_right(ListWithLiteral(string_2).PassAs<ParseNode>()); in TEST() 82 list.append_item(scoped_ptr<ParseNode>(new LiteralNode(string_1))); in TEST() 83 list.append_item(scoped_ptr<ParseNode>(new LiteralNode(string_2))); in TEST() 115 node.set_left(scoped_ptr<ParseNode>(new IdentifierNode(identifier_token))); in TEST() 121 outer_list->append_item(ListWithLiteral(twelve).PassAs<ParseNode>()); in TEST() 122 node.set_right(outer_list.PassAs<ParseNode>()); in TEST() [all …]
|
D | input_file_manager.h | 26 class ParseNode; variable 41 typedef base::Callback<void(const ParseNode*)> FileLoadCallback; 62 const ParseNode* SyncLoadFile(const LocationRange& origin, 85 scoped_ptr<ParseNode>** parse_root); 119 scoped_ptr<ParseNode> parsed_root;
|
D | parse_tree.cc | 35 ParseNode::ParseNode() { in ParseNode() function in ParseNode 38 ParseNode::~ParseNode() { in ~ParseNode() 41 const AccessorNode* ParseNode::AsAccessor() const { return NULL; } in AsAccessor() 42 const BinaryOpNode* ParseNode::AsBinaryOp() const { return NULL; } in AsBinaryOp() 43 const BlockNode* ParseNode::AsBlock() const { return NULL; } in AsBlock() 44 const ConditionNode* ParseNode::AsConditionNode() const { return NULL; } in AsConditionNode() 45 const FunctionCallNode* ParseNode::AsFunctionCall() const { return NULL; } in AsFunctionCall() 46 const IdentifierNode* ParseNode::AsIdentifier() const { return NULL; } in AsIdentifier() 47 const ListNode* ParseNode::AsList() const { return NULL; } in AsList() 48 const LiteralNode* ParseNode::AsLiteral() const { return NULL; } in AsLiteral() [all …]
|
D | item.h | 14 class ParseNode; variable 32 const ParseNode* defined_from() const { return defined_from_; } in defined_from() 33 void set_defined_from(const ParseNode* df) { defined_from_ = df; } in set_defined_from() 58 const ParseNode* defined_from_;
|
D | input_conversion.cc | 32 const ParseNode* origin, in ParseValueOrScope() 38 scoped_ptr<ParseNode>* parse_root_ptr; in ParseValueOrScope() 67 ParseNode* parse_root = parse_root_ptr->get(); // For nicer syntax below. in ParseValueOrScope() 96 Value ParseList(const std::string& input, const ParseNode* origin, Err* err) { in ParseList() 119 const ParseNode* origin, in DoConvertInputToValue() 208 const ParseNode* origin, in ConvertInputToValue()
|
D | builder_record.h | 15 class ParseNode; variable 63 const ParseNode* originally_referenced_from() const { in originally_referenced_from() 66 void set_originally_referenced_from(const ParseNode* pn) { in set_originally_referenced_from() 101 const ParseNode* originally_referenced_from_;
|
D | value.cc | 18 Value::Value(const ParseNode* origin, Type t) in Value() 25 Value::Value(const ParseNode* origin, bool bool_val) in Value() 32 Value::Value(const ParseNode* origin, int64 int_val) in Value() 39 Value::Value(const ParseNode* origin, std::string str_val) in Value() 48 Value::Value(const ParseNode* origin, const char* str_val) in Value() 56 Value::Value(const ParseNode* origin, scoped_ptr<Scope> scope) in Value()
|
D | operators.h | 10 class ParseNode; variable 31 const ParseNode* left, 32 const ParseNode* right,
|
D | substitution_pattern.h | 15 class ParseNode; variable 42 bool Parse(const std::string& str, const ParseNode* origin, Err* err); 72 const ParseNode* origin_;
|
D | loader.h | 79 const base::Callback<void(const ParseNode*)>&, 132 const ParseNode* root); 136 const ParseNode* root); 158 const base::Callback<void(const ParseNode*)>& callback,
|
D | functions_unittest.cc | 21 scoped_ptr<ParseNode>(new IdentifierNode(undefined_token))); in TEST() 37 scoped_ptr<ParseNode>(new IdentifierNode(defined_token))); in TEST() 50 args_list_accessor_defined.append_item(undef_accessor.PassAs<ParseNode>()); in TEST()
|
D | input_file_manager.cc | 19 const ParseNode* node) { in InvokeFileLoadCallback() 28 scoped_ptr<ParseNode>* root, in DoLoadFile() 157 const ParseNode* InputFileManager::SyncLoadFile( in SyncLoadFile() 238 scoped_ptr<ParseNode>** parse_root) { in AddDynamicInput() 280 scoped_ptr<ParseNode> root; in LoadFile() 288 ParseNode* unowned_root = root.get(); in LoadFile()
|
D | import_manager.cc | 18 const ParseNode* node_for_err, in UncachedImport() 20 const ParseNode* node = g_scheduler->input_file_manager()->SyncLoadFile( in UncachedImport() 54 const ParseNode* node_for_err, in DoImport()
|
D | input_conversion.h | 11 class ParseNode; variable 26 const ParseNode* origin,
|
D | scope.h | 24 class ParseNode; variable 159 const ParseNode* set_node); 166 const ParseNode* set_node); 214 const ParseNode* node_for_err,
|
D | import_manager.h | 13 class ParseNode; variable 27 const ParseNode* node_for_err,
|
/external/clang/test/Analysis/ |
D | unions.cpp | 8 struct ParseNode { struct 11 ParseNode *data; 14 struct Definition : public ParseNode { }; 16 void CloneParseTree(ParseNode *opn, ParseNode *pn, ParseNode *x) { in CloneParseTree() 35 struct ParseNode { struct 43 ParseNode *data; 47 struct Definition : public ParseNode { }; 49 void CloneParseTree(ParseNode *opn, ParseNode *pn, ParseNode *x) { in CloneParseTree()
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathExpressionNode.h | 53 class ParseNode : public NoBaseWillBeGarbageCollectedFinalized<ParseNode> { 55 virtual ~ParseNode() { } in ~ParseNode() 59 class Expression : public ParseNode {
|
D | XPathParser.h | 42 class ParseNode; variable 79 void registerParseNode(ParseNode*); 80 void unregisterParseNode(ParseNode*); 122 HashSet<ParseNode*> m_parseNodes;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreePatternParser.cs | 53 object node = ParseNode(); in Pattern() 67 object root = ParseNode(); in ParseTree() 79 object child = ParseNode(); in ParseTree() 94 public virtual object ParseNode() { in ParseNode() method in Antlr.Runtime.Tree.TreePatternParser
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreePatternParser.cs | 60 object node = ParseNode(); in Pattern() 76 object root = ParseNode(); in ParseTree() 93 object child = ParseNode(); in ParseTree() 109 public virtual object ParseNode() in ParseNode() method in Antlr.Runtime.Tree.TreePatternParser
|