Skip to content

Package io.github.qishr.cascara.common.lang.ast

Interface CommentAstNode

java.lang.Object
        io.github.qishr.cascara.common.lang.ast.CommentAstNode

All Implemented Interfaces:
    AstNode

All Known Implementing Classes:
    JsonComment, YamlComment


public interface CommentAstNode

Method Summary

Modifier and Type Method Description
public abstract String asString() The actual comment text without the '#'
public abstract String getLexeme() The lexeme, including the '#'
public abstract boolean isMultiLine() Useful for CSS or Java modules

Method Details

asString

public abstract String asString()

The actual comment text without the '#'

Specified By:

AstNode


getLexeme

public abstract String getLexeme()

The lexeme, including the '#'


isMultiLine

public abstract boolean isMultiLine()

Useful for CSS or Java modules