Lines Matching defs:node
47 auto const *const node = scope->Node();
48 if (node == nullptr) {
53 if (!node->IsScopeBearer()) {
54 ctx.AddCheckMessage("NODE IS NOT SCOPE BEARER", *node, node->Start());
58 if (node->Scope() == scope) {
62 if (node->Scope()->IsFunctionScope()) {
63 auto const *const functionScope = node->Scope()->AsFunctionScope();
71 if (node->Scope()->HasFlag(varbinder::ScopeFlags::LOOP_SCOPE)) {
73 auto *const loopScope = reinterpret_cast<varbinder::LoopScope *>(node->Scope());
79 if (node->Scope()->IsCatchScope()) {
80 auto *const catchScope = node->Scope()->AsCatchScope();
86 ctx.AddCheckMessage("SCOPE IS NOT CONSISTENT WITH ITS DECLARING NODE", *node, node->Start());