• Home
  • Raw
  • Download

Lines Matching refs:NodeVec

188   NodeVector NodeVec;  member in __anond7afc2f90111::SExpr
192 NodeVec.push_back(SExprNode(EOP_Nop, 0, 0)); in makeNop()
193 return NodeVec.size()-1; in makeNop()
197 NodeVec.push_back(SExprNode(EOP_Wildcard, 0, 0)); in makeWildcard()
198 return NodeVec.size()-1; in makeWildcard()
202 NodeVec.push_back(SExprNode(EOP_Universal, 0, 0)); in makeUniversal()
203 return NodeVec.size()-1; in makeUniversal()
207 NodeVec.push_back(SExprNode(EOP_NVar, 0, D)); in makeNamedVar()
208 return NodeVec.size()-1; in makeNamedVar()
212 NodeVec.push_back(SExprNode(EOP_LVar, 0, D)); in makeLocalVar()
213 return NodeVec.size()-1; in makeLocalVar()
217 NodeVec.push_back(SExprNode(EOP_This, 0, 0)); in makeThis()
218 return NodeVec.size()-1; in makeThis()
222 NodeVec.push_back(SExprNode(EOP_Dot, Arrow ? 1 : 0, D)); in makeDot()
223 return NodeVec.size()-1; in makeDot()
227 NodeVec.push_back(SExprNode(EOP_Call, NumArgs, D)); in makeCall()
228 return NodeVec.size()-1; in makeCall()
245 NodeVec.push_back(SExprNode(EOP_MCall, NumArgs, getFirstVirtualDecl(D))); in makeMCall()
246 return NodeVec.size()-1; in makeMCall()
250 NodeVec.push_back(SExprNode(EOP_Index, 0, 0)); in makeIndex()
251 return NodeVec.size()-1; in makeIndex()
255 NodeVec.push_back(SExprNode(EOP_Unary, 0, 0)); in makeUnary()
256 return NodeVec.size()-1; in makeUnary()
260 NodeVec.push_back(SExprNode(EOP_Binary, 0, 0)); in makeBinary()
261 return NodeVec.size()-1; in makeBinary()
265 NodeVec.push_back(SExprNode(EOP_Unknown, Arity, 0)); in makeUnknown()
266 return NodeVec.size()-1; in makeUnknown()
320 NodeVec[Root].setArrow(ImplicitDeref > 0); in buildSExpr()
321 NodeVec[Root].setSize(Sz + 1); in buildSExpr()
353 NodeVec[Root].setSize(Sz + 1); in buildSExpr()
384 NodeVec[Root].setSize(Sz+1); in buildSExpr()
390 NodeVec[Root].setSize(Sz); in buildSExpr()
407 NodeVec[Root].setSize(2); in buildSExpr()
416 NodeVec[Root].setSize(Sz); in buildSExpr()
423 NodeVec[Root].setSize(Sz); in buildSExpr()
431 NodeVec[Root].setSize(Sz); in buildSExpr()
438 NodeVec[Root].setSize(Sz); in buildSExpr()
542 return i + NodeVec[i].size(); in getNextSibling()
546 explicit SExpr(clang::Decl::EmptyShell e) { NodeVec.clear(); } in SExpr()
561 return !NodeVec.empty(); in isValid()
566 assert(NodeVec.size() > 0 && "Invalid Mutex"); in shouldIgnore()
567 return NodeVec[0].kind() == EOP_Nop; in shouldIgnore()
571 assert(NodeVec.size() > 0 && "Invalid Mutex"); in isUniversal()
572 return NodeVec[0].kind() == EOP_Universal; in isUniversal()
589 return NodeVec == other.NodeVec; in operator ==()
597 if (NodeVec[i].matches(Other.NodeVec[j])) { in matches()
598 unsigned ni = NodeVec[i].arity(); in matches()
599 unsigned nj = Other.NodeVec[j].arity(); in matches()
617 if (NodeVec[0].kind() == EOP_Dot) in partiallyMatches()
618 return NodeVec[0].matches(Other.NodeVec[0]); in partiallyMatches()
625 if (i >= NodeVec.size()) in toString()
628 const SExprNode* N = &NodeVec[i]; in toString()
643 if (NodeVec[i+1].kind() == EOP_Wildcard) { in toString()
649 if (NodeVec[i+1].kind() == EOP_This) in toString()
671 if (NodeVec[i+1].kind() != EOP_This) in toString()
688 std::string S2 = toString(i+1 + NodeVec[i+1].size()); in toString()
697 std::string S2 = toString(i+1 + NodeVec[i+1].size()); in toString()