mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
language: Add expression literals
Add expression literals, so you can set properties of type Gtk.Expression.
This commit is contained in:
parent
a6d57cebec
commit
02344139c2
29 changed files with 268 additions and 21 deletions
|
@ -28,7 +28,18 @@ from .common import *
|
|||
from .response_id import ExtResponse
|
||||
from .types import ClassName, ConcreteClassName
|
||||
|
||||
RESERVED_IDS = {"this", "self", "template", "true", "false", "null", "none"}
|
||||
RESERVED_IDS = {
|
||||
"this",
|
||||
"self",
|
||||
"template",
|
||||
"true",
|
||||
"false",
|
||||
"null",
|
||||
"none",
|
||||
"item",
|
||||
"expr",
|
||||
"typeof",
|
||||
}
|
||||
|
||||
|
||||
class ObjectContent(AstNode):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue