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

org.daisy.pipeline.css.sass.impl.Comment Maven / Gradle / Ivy

There is a newer version: 5.3.1
Show newest version
package org.daisy.pipeline.css.sass.impl;

class Comment {

	final String text;
	final int column;

	// FIXME: take into account column number of first line of the document

	/**
	 * @param column Position of the comment's {@code /*} opening within the stylesheet document, as
	 *               a 0-based column number.
	 */
	Comment(String text, int column) {
		this.text = text;
		this.column = column;
	}

	Comment(Comment comment) {
		this(comment.text, comment.column);
	}

	@Override
	public String toString() {
		return "/*" + text + "*/";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy