InvalidArgumentCount

class InvalidArgumentCount : ValidationIssue


The expression has an invalid argument count.

Summary

Public constructors

InvalidArgumentCount(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    operator: String,
    minOperands: Int,
    maxOperands: Int
)

Create an InvalidArgumentCount instance.

Public properties

Expression?

The expression.

Int

The maximum operands.

Int

The minimum operands.

String

The operator.

Inherited properties

From com.google.home.automation.ValidationIssue
ValidationIssueType

The type of the validation issue.

Node

The node for which validation is failing.

ValidationIssueSeverity

The severity of the validation issue.

Public constructors

InvalidArgumentCount

InvalidArgumentCount(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    operator: String,
    minOperands: Int,
    maxOperands: Int
)

Create an InvalidArgumentCount instance.

Public properties

expression

val expressionExpression?

The expression.

maxOperands

val maxOperandsInt

The maximum operands.

minOperands

val minOperandsInt

The minimum operands.

operator

val operatorString

The operator.