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