Fix 'an utility' typos to 'a utility' (#169)

This commit is contained in:
Jeremy Tecson 2019-04-29 17:50:29 +08:00 committed by Yann Cébron
parent fe85248fd4
commit 55a7bfd75a

View File

@ -7,7 +7,7 @@ title: 6. PSI Helpers and Utilities
If we want to have custom methods in PSI classes we need to define them separately and ask Grammar-Kit to embed them into generated code. If we want to have custom methods in PSI classes we need to define them separately and ask Grammar-Kit to embed them into generated code.
Let's define an utility class with these helper methods. Let's define a utility class with these helper methods.
```java ```java
package com.simpleplugin.psi.impl; package com.simpleplugin.psi.impl;
@ -78,9 +78,9 @@ property ::= (KEY? SEPARATOR VALUE?) | KEY {methods=[getKey getValue]}
After we made our changes to the grammar we can regenerate the parser and PSI classes. After we made our changes to the grammar we can regenerate the parser and PSI classes.
### 6.3. Define an utility to search properties ### 6.3. Define a utility to search properties
Now we need an utility class to search PSI elements for defined properties over the project. Now we need a utility class to search PSI elements for defined properties over the project.
We will use this utility later when implementing code assistance. We will use this utility later when implementing code assistance.
```java ```java