public AstPropertyNodeBuilder setPropertyValue(long propertyValue) { node.setPropertyValue(new AstLiteralLongValue(propertyValue)); return this; }
public AstPropertyNodeBuilder setPropertyValue(URI propertyValue) { node.setPropertyValue(new AstLiteralURIValue(propertyValue)); return this; }
public ScriptNested<R> setPropertyValue(int propertyValue) { node.setPropertyValue(new AstLiteralIntegerValue(propertyValue)); return this; }
public AstPropertyNodeBuilder setPropertyValue(String propertyValue) { node.setPropertyValue(new AstLiteralTextValue(propertyValue)); return this; }
public AstPropertyNodeBuilder setPropertyValue(int propertyValue) { node.setPropertyValue(new AstLiteralIntegerValue(propertyValue)); return this; }
public AstPropertyNodeBuilder setPropertyValue(ValueExpression expression, ExpressionContext environment) { node.setPropertyValue(new AstExpressionValue<>(expression, environment)); return this; }
public ScriptNested<R> setPropertyValue(String propertyValue) { node.setPropertyValue(new AstLiteralTextValue(propertyValue)); return this; }
public AstPropertyNodeBuilder setPropertyValue(byte[] propertyValue) { node.setPropertyValue(new AstLiteralBytesValue(propertyValue)); return this; }
public ScriptNested<R> setPropertyValue(byte[] propertyValue) { node.setPropertyValue(new AstLiteralBytesValue(propertyValue)); return this; }
public ScriptNested<R> setPropertyValue(long propertyValue) { node.setPropertyValue(new AstLiteralLongValue(propertyValue)); return this; }
public ScriptNested<R> setPropertyValue(URI propertyValue) { node.setPropertyValue(new AstLiteralURIValue(propertyValue)); return this; }
@Override public AstPropertyNode visitPropertyNode(PropertyNodeContext ctx) { AstValueVisitor<?> visitor = new AstValueVisitor<>(factory, environment, Object.class); AstValue<?> value = visitor.visit(ctx.value); childInfos().add(value.getRegionInfo()); node = new AstPropertyNode(); node.setRegionInfo(asSequentialRegion(childInfos, ctx)); node.setPropertyName(ctx.name.getText()); node.setPropertyValue(value); node.setEnvironment(environment); return node; }