class Novika::Resolver::Manifest::CommentPreprocessor

Overview

Strips off comments from manifest content.

Defined in:

novika/resolver.cr

Instance Method Summary

Instance methods inherited from class Novika::Resolver::Manifest::Preprocessor

next? : Preprocessor | Nil next?, preprocess(content : String) : String preprocess

Constructor methods inherited from class Novika::Resolver::Manifest::Preprocessor

new(root : RunnableRoot, group : RunnableGroup, manifest : Manifest::Present) new

Instance Method Detail

def next? : Preprocessor | Nil #
Description copied from class Novika::Resolver::Manifest::Preprocessor

Returns the next preprocessor in the chain, or nil if this preprocessor is terminal.


def preprocess(content : String) : String #
Description copied from class Novika::Resolver::Manifest::Preprocessor

Returns subtractively preprocessed content string. That is, the returned string will be shorter or of the same length as content.