Sha256: 437a68d3fd17bf304f5b175cf7efb9e22ef26a69309e5669a852835f5c281a70
Contents?: true
Size: 757 Bytes
Versions: 28
Compression:
Stored size: 757 Bytes
Contents
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #include "atn/ATNState.h" #include "atn/WildcardTransition.h" using namespace antlr4::atn; WildcardTransition::WildcardTransition(ATNState *target) : Transition(target) { } Transition::SerializationType WildcardTransition::getSerializationType() const { return WILDCARD; } bool WildcardTransition::matches(size_t symbol, size_t minVocabSymbol, size_t maxVocabSymbol) const { return symbol >= minVocabSymbol && symbol <= maxVocabSymbol; } std::string WildcardTransition::toString() const { return "WILDCARD " + Transition::toString() + " {}"; }
Version data entries
28 entries across 28 versions & 2 rubygems