com.shapesecurity.shift.parser.token.TemplateToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shift Show documentation
Show all versions of shift Show documentation
Shift format ECMAScript 6 AST tooling
package com.shapesecurity.shift.parser.token;
import com.shapesecurity.shift.parser.SourceRange;
import com.shapesecurity.shift.parser.Token;
import com.shapesecurity.shift.parser.TokenType;
import org.jetbrains.annotations.NotNull;
public final class TemplateToken extends Token {
public final boolean tail;
public TemplateToken(@NotNull SourceRange slice, boolean tail) {
super(TokenType.TEMPLATE, slice);
this.tail = tail;
}
@NotNull
@Override
public CharSequence getValueString() {
return this.slice;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy