Package-level declarations

Types

Link copied to clipboard
abstract class ASTProcessingCommand<R : Node, P : ASTParser<R>>(val parserInstantiator: ParserInstantiator<P>, help: String = "", name: String? = null) : CliktCommand
Link copied to clipboard
class ASTSaverCommand<R : Node, P : ASTParser<R>>(parserInstantiator: ParserInstantiator<P>) : ASTProcessingCommand<R, P>

This command prints the AST on the console or on file. The formats are the debugging format, JSON, XML, or EMF-JSON.

Link copied to clipboard
class CLITool<R : Node, P : ASTParser<R>>(parserInstantiator: ParserInstantiator<P>, replacedConsole: CliktConsole? = null) : CliktCommand

This class is intended to be instantiated by providing an instantiation that is aware of a specific parser.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class NodeStatsCollector(val simpleNames: Boolean) : StatsCollector
Link copied to clipboard
Link copied to clipboard
interface StatsCollector
Link copied to clipboard
class StatsCommand<R : Node, P : ASTParser<R>>(parserInstantiator: ParserInstantiator<P>) : ASTProcessingCommand<R, P>

Command to calcualte statistics on the ASTs produced and print them.

Functions

Link copied to clipboard
fun File.changeExtension(newExtension: String): File