Package org.openprovenance.prov.notation
Class TreeTraversal
java.lang.Object
org.openprovenance.prov.notation.TreeTraversal
-
Constructor Summary
ConstructorsConstructorDescriptionTreeTraversal(ModelConstructor c, ProvFactory pFactory, DateTimeOption dateTimeOption, TimeZone optionalTimeZone) -
Method Summary
Modifier and TypeMethodDescriptionconvert(org.antlr.runtime.tree.Tree ast) intconvertInt(String token) convertToken(String token) convertTypedLiteral(String literal, QualifiedName datatype) convertTypedLiteral(LangString literal, QualifiedName datatype) getTokenString(org.antlr.runtime.tree.Tree t) newExtension(Object extName, QualifiedName uid, List<Object> args, Object optionalAttributes) stripAmpersand(String token) unquoteTrice(String token) unquoteTwice(String token)
-
Constructor Details
-
TreeTraversal
public TreeTraversal(ModelConstructor c, ProvFactory pFactory, DateTimeOption dateTimeOption, TimeZone optionalTimeZone)
-
-
Method Details
-
getTokenString
-
convertToken
-
convertInt
-
stripAmpersand
-
unquoteTwice
-
unquoteTrice
-
convert
-
newExtension
-
convertTypedLiteral
-
convertTypedLiteral
-
unwrap
-