[Ruleset] Read and write scope #8

Closed
opened 2022-11-27 16:28:35 +08:00 by Pop_Slime · 1 comment
Owner

Description

Separate read and write scope.

Remarks

Features for read scope:

  • Event type selector
  • Index selector
  • Property selector

Features for write scope:

  • Create item selector
  • Property operator

Features for context:

  • Variables
## Description Separate read and write scope. ## Remarks Features for read scope: - Event type selector - Index selector - Property selector Features for write scope: - Create item selector - Property operator Features for context: - Variables
Pop_Slime added the
feature
label 2022-11-27 16:28:35 +08:00
Pop_Slime added this to the crtr project 2022-11-27 16:28:35 +08:00
Author
Owner

Solution

Example selector: .judge_head, ..jtrel_head.

Read scope

@if .judge_head { }

Write scope

(not practical yet)

@then ..jtrel_head { }
## Solution Example selector: `.judge_head`, `..jtrel_head`. ### Read scope ``` @if .judge_head { } ``` ### Write scope (*not practical yet*) ``` @then ..jtrel_head { } ```
Pop_Slime added this to the 0.5.2 milestone 2023-01-21 20:29:43 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Pop_Slime/crtr#8
No description provided.