All Downloads are FREE. Search and download functionalities are using the official Maven repository.

parsley.debugger.util.XDummyCollector.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2020 Parsley Contributors 
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
package parsley.debugger.util

import parsley.token.Lexer

import parsley.internal.deepembedding.frontend.LazyParsley

// Empty collector for platforms that don't support reflection.
// $COVERAGE-OFF$
private [util] class XDummyCollector extends CollectorImpl {
    override def collectNames(obj: Any): Map[LazyParsley[_], String] = Map.empty

    override def collectLexer(lexer: Lexer): Map[LazyParsley[_], String] = Map.empty

    override val supported: Boolean = false
}
// $COVERAGE-ON$




© 2015 - 2024 Weber Informatics LLC | Privacy Policy