File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class Token {
6060
6161 Token (std::string Str)
6262 : TokenType(Type::Text), RawBody(std::move(Str)), TokenBody(RawBody),
63- Accessor ({}), Indentation(0 ) {};
63+ AccessorValue ({}), Indentation(0 ) {};
6464
6565 Token (std::string RawBody, std::string TokenBody, char Identifier)
6666 : RawBody(std::move(RawBody)), TokenBody(std::move(TokenBody)),
@@ -71,10 +71,10 @@ class Token {
7171 StringRef AccessorStr (this ->TokenBody );
7272 if (TokenType != Type::Variable)
7373 AccessorStr = AccessorStr.substr (1 );
74- Accessor = splitMustacheString (StringRef (AccessorStr).trim ());
74+ AccessorValue = splitMustacheString (StringRef (AccessorStr).trim ());
7575 }
7676
77- Accessor getAccessor () const { return Accessor ; }
77+ Accessor getAccessor () const { return AccessorValue ; }
7878
7979 Type getType () const { return TokenType; }
8080
@@ -106,7 +106,7 @@ class Token {
106106 std::string RawBody;
107107 // TokenBody is the original string with the identifier removed.
108108 std::string TokenBody;
109- Accessor Accessor ;
109+ Accessor AccessorValue ;
110110 size_t Indentation;
111111};
112112
You can’t perform that action at this time.
0 commit comments