public final class TypeTransformationParser extends Object
@template T := TTL-Exp =:
Modifier and Type | Class and Description |
---|---|
static class |
TypeTransformationParser.Keywords
Keywords of the type transformation language
|
static class |
TypeTransformationParser.OperationKind
The classification of the keywords
|
Constructor and Description |
---|
TypeTransformationParser(String typeTransformationString,
StaticSourceFile sourceFile,
ErrorReporter errorReporter,
int templateLineno,
int templateCharno) |
Modifier and Type | Method and Description |
---|---|
Node |
getTypeTransformationAst() |
boolean |
parseTypeTransformation()
Takes a type transformation expression, transforms it to an AST using
the ParserRunner of the JSCompiler and then verifies that it is a valid
AST.
|
public TypeTransformationParser(String typeTransformationString, StaticSourceFile sourceFile, ErrorReporter errorReporter, int templateLineno, int templateCharno)
public Node getTypeTransformationAst()
public boolean parseTypeTransformation()
Copyright © 2009–2023 Google. All rights reserved.