InvalidField

class InvalidField : ValidationIssue


The FIELD_SELECT expression uses an invalid field.

Summary

Public constructors

InvalidField(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    id: Int?,
    name: String?,
    operandIndex: Int
)

Create an InvalidField instance.

Public properties

Expression?

The expression.

Int?

The unique ID of the field.

String?

The name of the field.

Int

The index of the operand in the expression.

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

InvalidField

InvalidField(
    node: Node,
    severity: ValidationIssueSeverity,
    expression: Expression?,
    id: Int? = null,
    name: String? = null,
    operandIndex: Int
)

Create an InvalidField instance.

Public properties

expression

val expressionExpression?

The expression.

id

val idInt?

The unique ID of the field.

name

val nameString?

The name of the field.

operandIndex

val operandIndexInt

The index of the operand in the expression.