diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 00:45:23 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 00:45:23 +0000 |
commit | 2aa4afed415b02add73c2dd5a3e9ccab90066d04 (patch) | |
tree | af135f127514fe047cb99b4f0c2ea7b87162acab /tikzit/src/common/GraphElementProperty.h | |
parent | dbd620bbaf7f28728c2686737b6a1453caaebd25 (diff) |
Make the parser more coherent
We build things up in stacks in the parser, rather than relying on
TikzGraphAssembler so much. This makes tikzparser.ym easier to follow
(IMHO).
Diffstat (limited to 'tikzit/src/common/GraphElementProperty.h')
-rw-r--r-- | tikzit/src/common/GraphElementProperty.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tikzit/src/common/GraphElementProperty.h b/tikzit/src/common/GraphElementProperty.h index 3ca93dc..029e7f3 100644 --- a/tikzit/src/common/GraphElementProperty.h +++ b/tikzit/src/common/GraphElementProperty.h @@ -46,6 +46,7 @@ @result A key-matching object. */ - (id)initWithKeyMatching:(NSString*)k; ++ (id)keyMatching:(NSString*)k; /*! @brief Initialize a new atomic property. @@ -53,6 +54,7 @@ @result An atom. */ - (id)initWithAtomName:(NSString*)n; ++ (id)atom:(NSString*)n; /*! @brief Initialize a new property. @@ -61,6 +63,7 @@ @result A property. */ - (id)initWithPropertyValue:(NSString*)v forKey:(NSString*)k; ++ (id)property:(NSString*)k withValue:(NSString*)v; /*! @brief A matching function for properties. |