mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: variables: have separate token type
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -77,6 +77,7 @@ public:
|
||||
|
||||
PUNCTUATION,
|
||||
WORD,
|
||||
VARIABLE,
|
||||
STRING,
|
||||
VERBATIMSTRING,
|
||||
LABEL,
|
||||
@ -331,6 +332,8 @@ public:
|
||||
inline bool isWord() const;
|
||||
inline const word& wordToken() const;
|
||||
|
||||
inline bool isVariable() const;
|
||||
|
||||
inline bool isString() const;
|
||||
inline const string& stringToken() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user