Search in sources :

Example 6 with Parameter

use of com.redhat.qute.parser.template.Parameter in project quarkus-ls by redhat-developer.

the class ForSection method accept0.

@Override
protected void accept0(ASTVisitor visitor) {
    boolean visitChildren = visitor.visit(this);
    if (visitChildren) {
        List<Parameter> parameters = getParameters();
        for (Parameter parameter : parameters) {
            acceptChild(visitor, parameter);
        }
        acceptChildren(visitor, getChildren());
    }
    visitor.endVisit(this);
}
Also used : Parameter(com.redhat.qute.parser.template.Parameter)

Example 7 with Parameter

use of com.redhat.qute.parser.template.Parameter in project quarkus-ls by redhat-developer.

the class InsertSection method accept0.

@Override
protected void accept0(ASTVisitor visitor) {
    boolean visitChildren = visitor.visit(this);
    if (visitChildren) {
        List<Parameter> parameters = getParameters();
        for (Parameter parameter : parameters) {
            acceptChild(visitor, parameter);
        }
        acceptChildren(visitor, getChildren());
    }
    visitor.endVisit(this);
}
Also used : Parameter(com.redhat.qute.parser.template.Parameter)

Example 8 with Parameter

use of com.redhat.qute.parser.template.Parameter in project quarkus-ls by redhat-developer.

the class IsSection method accept0.

@Override
protected void accept0(ASTVisitor visitor) {
    boolean visitChildren = visitor.visit(this);
    if (visitChildren) {
        List<Parameter> parameters = getParameters();
        for (Parameter parameter : parameters) {
            acceptChild(visitor, parameter);
        }
        acceptChildren(visitor, getChildren());
    }
    visitor.endVisit(this);
}
Also used : Parameter(com.redhat.qute.parser.template.Parameter)

Example 9 with Parameter

use of com.redhat.qute.parser.template.Parameter in project quarkus-ls by redhat-developer.

the class LetSection method accept0.

@Override
protected void accept0(ASTVisitor visitor) {
    boolean visitChildren = visitor.visit(this);
    if (visitChildren) {
        List<Parameter> parameters = getParameters();
        for (Parameter parameter : parameters) {
            acceptChild(visitor, parameter);
        }
        acceptChildren(visitor, getChildren());
    }
    visitor.endVisit(this);
}
Also used : Parameter(com.redhat.qute.parser.template.Parameter)

Example 10 with Parameter

use of com.redhat.qute.parser.template.Parameter in project quarkus-ls by redhat-developer.

the class SetSection method accept0.

@Override
protected void accept0(ASTVisitor visitor) {
    boolean visitChildren = visitor.visit(this);
    if (visitChildren) {
        List<Parameter> parameters = getParameters();
        for (Parameter parameter : parameters) {
            acceptChild(visitor, parameter);
        }
        acceptChildren(visitor, getChildren());
    }
    visitor.endVisit(this);
}
Also used : Parameter(com.redhat.qute.parser.template.Parameter)

Aggregations

Parameter (com.redhat.qute.parser.template.Parameter)30 Node (com.redhat.qute.parser.template.Node)9 Section (com.redhat.qute.parser.template.Section)9 Range (org.eclipse.lsp4j.Range)9 Expression (com.redhat.qute.parser.template.Expression)6 LoopSection (com.redhat.qute.parser.template.sections.LoopSection)6 ResolvedJavaTypeInfo (com.redhat.qute.commons.ResolvedJavaTypeInfo)3 NamespacePart (com.redhat.qute.parser.expression.NamespacePart)3 Part (com.redhat.qute.parser.expression.Part)3 ParameterDeclaration (com.redhat.qute.parser.template.ParameterDeclaration)3 DiagnosticDataFactory.createDiagnostic (com.redhat.qute.services.diagnostics.DiagnosticDataFactory.createDiagnostic)3 Path (java.nio.file.Path)3 ArrayList (java.util.ArrayList)3 List (java.util.List)3 Diagnostic (org.eclipse.lsp4j.Diagnostic)3 BadLocationException (com.redhat.qute.ls.commons.BadLocationException)2 MethodPart (com.redhat.qute.parser.expression.MethodPart)2 RangeOffset (com.redhat.qute.parser.template.RangeOffset)2 Template (com.redhat.qute.parser.template.Template)2 IncludeSection (com.redhat.qute.parser.template.sections.IncludeSection)2