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 expression: Expression?

The expression.

id

val id: Int?

The unique ID of the field.

name

val name: String?

The name of the field.

operandIndex

val operandIndex: Int

The index of the operand in the expression.