javax0.jamal.prog.analyzer.Output Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jamal-prog Show documentation
Show all versions of jamal-prog Show documentation
Jamal module for Programmatic Extension
The newest version!
package javax0.jamal.prog.analyzer;
import javax0.jamal.api.BadSyntax;
public class Output {
public static javax0.jamal.prog.commands.Output analyze(final Lex.List lexes) throws BadSyntax {
lexes.next();
final var value = Expression.analyze(lexes);
lexes.eol("Expected new line after << expression");
return new javax0.jamal.prog.commands.Output(value);
}
}