Searched refs:ParseNode (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium_org/tools/gn/
H A Dparser.h18 typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token);
19 typedef scoped_ptr<ParseNode> (Parser::*InfixFunc)(scoped_ptr<ParseNode> left,
30 // use of the ParseNode.
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> Nam
[all...]
H A Dinput_conversion.h11 class ParseNode;
26 const ParseNode* origin,
H A Dparser.cc107 scoped_ptr<ParseNode> Parser::Parse(const std::vector<Token>& tokens,
110 return p.ParseFile().PassAs<ParseNode>();
114 scoped_ptr<ParseNode> Parser::ParseExpression(const std::vector<Token>& tokens,
120 bool Parser::IsAssignment(const ParseNode* node) const {
188 scoped_ptr<ParseNode> Parser::ParseExpression() {
192 scoped_ptr<ParseNode> Parser::ParseExpression(int precedence) {
194 return scoped_ptr<ParseNode>();
203 return scoped_ptr<ParseNode>();
206 scoped_ptr<ParseNode> left = (this->*prefix)(token);
218 return scoped_ptr<ParseNode>();
[all...]
H A Doperators.h10 class ParseNode;
31 const ParseNode* left,
32 const ParseNode* right,
H A Ditem.h14 class ParseNode;
32 const ParseNode* defined_from() const { return defined_from_; }
33 void set_defined_from(const ParseNode* df) { defined_from_ = df; }
58 const ParseNode* defined_from_;
H A Dimport_manager.h13 class ParseNode;
27 const ParseNode* node_for_err,
H A Dvalue.h16 class ParseNode;
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_; }
56 void set_origin(const ParseNode* o) { origin_ = o; }
129 const ParseNode* origin
[all...]
H A Dbuilder_record.h15 class ParseNode;
63 const ParseNode* originally_referenced_from() const {
66 void set_originally_referenced_from(const ParseNode* pn) {
101 const ParseNode* originally_referenced_from_;
H A Doperators_unittest.cc30 list->append_item(scoped_ptr<ParseNode>(new LiteralNode(token)));
52 node.set_left(scoped_ptr<ParseNode>(new IdentifierNode(identifier_token)));
62 node.set_right(ListWithLiteral(integer).PassAs<ParseNode>());
69 node.set_right(ListWithLiteral(string_1).PassAs<ParseNode>());
76 node.set_right(ListWithLiteral(string_2).PassAs<ParseNode>());
82 list.append_item(scoped_ptr<ParseNode>(new LiteralNode(string_1)));
83 list.append_item(scoped_ptr<ParseNode>(new LiteralNode(string_2)));
115 node.set_left(scoped_ptr<ParseNode>(new IdentifierNode(identifier_token)));
121 outer_list->append_item(ListWithLiteral(twelve).PassAs<ParseNode>());
122 node.set_right(outer_list.PassAs<ParseNode>());
[all...]
H A Dinput_file_manager.h26 class ParseNode;
41 typedef base::Callback<void(const ParseNode*)> FileLoadCallback;
52 // ParseNode pointer. The given |origin| will be blamed for the invocation.
62 const ParseNode* SyncLoadFile(const LocationRange& origin,
85 scoped_ptr<ParseNode>** parse_root);
119 scoped_ptr<ParseNode> parsed_root;
H A Dparse_tree.h67 // ParseNode -------------------------------------------------------------------
70 class ParseNode { class
72 ParseNode();
73 virtual ~ParseNode();
107 DISALLOW_COPY_AND_ASSIGN(ParseNode);
135 class AccessorNode : public ParseNode {
154 const ParseNode* index() const { return index_.get(); }
155 void set_index(scoped_ptr<ParseNode> i) { index_ = i.Pass(); }
170 scoped_ptr<ParseNode> index_;
178 class BinaryOpNode : public ParseNode {
[all...]
H A Dfunctions_unittest.cc21 scoped_ptr<ParseNode>(new IdentifierNode(undefined_token)));
37 scoped_ptr<ParseNode>(new IdentifierNode(defined_token)));
50 args_list_accessor_defined.append_item(undef_accessor.PassAs<ParseNode>());
H A Dsubstitution_pattern.h15 class ParseNode;
42 bool Parse(const std::string& str, const ParseNode* origin, Err* err);
72 const ParseNode* origin_;
H A Dinput_conversion.cc32 const ParseNode* origin,
38 scoped_ptr<ParseNode>* parse_root_ptr;
67 ParseNode* parse_root = parse_root_ptr->get(); // For nicer syntax below.
96 Value ParseList(const std::string& input, const ParseNode* origin, Err* err) {
119 const ParseNode* origin,
208 const ParseNode* origin,
H A Dimport_manager.cc18 const ParseNode* node_for_err,
20 const ParseNode* node = g_scheduler->input_file_manager()->SyncLoadFile(
54 const ParseNode* node_for_err,
H A Dloader.h79 const base::Callback<void(const ParseNode*)>&,
132 const ParseNode* root);
136 const ParseNode* root);
158 const base::Callback<void(const ParseNode*)>& callback,
H A Dsubstitution_list.h21 const ParseNode* origin,
H A Derr.h14 class ParseNode;
48 Err(const ParseNode* node,
H A Dsubstitution_type.h11 class ParseNode;
108 const ParseNode* origin,
/external/clang/test/Analysis/
H A Dunions.cpp8 struct ParseNode { struct in namespace:PR14054_reduced
11 ParseNode *data;
14 struct Definition : public ParseNode { };
16 void CloneParseTree(ParseNode *opn, ParseNode *pn, ParseNode *x) {
35 struct ParseNode { struct in namespace:PR14054_original
43 ParseNode *data;
47 struct Definition : public ParseNode { };
49 void CloneParseTree(ParseNode *op
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathExpressionNode.cpp57 ParseNode::trace(visitor);
H A DXPathExpressionNode.h53 class ParseNode : public NoBaseWillBeGarbageCollectedFinalized<ParseNode> { class in namespace:blink::XPath
55 virtual ~ParseNode() { }
59 class Expression : public ParseNode {
H A DXPathParser.h42 class ParseNode;
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/
H A DTreePatternParser.cs53 object node = ParseNode();
67 object root = ParseNode();
79 object child = ParseNode();
94 public virtual object ParseNode() { method in class:Antlr.Runtime.Tree.TreePatternParser
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreePatternParser.cs60 object node = ParseNode();
76 object root = ParseNode();
93 object child = ParseNode();
109 public virtual object ParseNode() method in class:Antlr.Runtime.Tree.TreePatternParser

Completed in 6089 milliseconds

123