Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
490a56f1
Commit
490a56f1
authored
May 21, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbox the filename inside the Node_Impl objects.
parent
159728a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
node.hpp
node.hpp
+3
-3
No files found.
node.hpp
View file @
490a56f1
...
@@ -164,7 +164,7 @@ namespace Sass {
...
@@ -164,7 +164,7 @@ namespace Sass {
bool
is_unquoted
()
const
;
bool
is_unquoted
()
const
;
bool
is_numeric
()
const
;
bool
is_numeric
()
const
;
string
file_name
()
const
;
string
&
file_name
()
const
;
size_t
line_number
()
const
;
size_t
line_number
()
const
;
size_t
size
()
const
;
size_t
size
()
const
;
...
@@ -199,7 +199,7 @@ namespace Sass {
...
@@ -199,7 +199,7 @@ namespace Sass {
// TO DO: look into using a custom allocator in the Node_Factory class
// TO DO: look into using a custom allocator in the Node_Factory class
vector
<
Node
>
children
;
// Can't be in the union because it has non-trivial constructors!
vector
<
Node
>
children
;
// Can't be in the union because it has non-trivial constructors!
string
*
file_name
;
string
file_name
;
size_t
line_number
;
size_t
line_number
;
Node
::
Type
type
;
Node
::
Type
type
;
...
@@ -275,7 +275,7 @@ namespace Sass {
...
@@ -275,7 +275,7 @@ namespace Sass {
inline
bool
Node
::
is_unquoted
()
const
{
return
ip_
->
is_unquoted
;
}
inline
bool
Node
::
is_unquoted
()
const
{
return
ip_
->
is_unquoted
;
}
inline
bool
Node
::
is_numeric
()
const
{
return
ip_
->
is_numeric
();
}
inline
bool
Node
::
is_numeric
()
const
{
return
ip_
->
is_numeric
();
}
inline
string
Node
::
file_name
()
const
{
return
*
(
ip_
->
file_name
)
;
}
inline
string
&
Node
::
file_name
()
const
{
return
ip_
->
file_name
;
}
inline
size_t
Node
::
line_number
()
const
{
return
ip_
->
line_number
;
}
inline
size_t
Node
::
line_number
()
const
{
return
ip_
->
line_number
;
}
inline
size_t
Node
::
size
()
const
{
return
ip_
->
size
();
}
inline
size_t
Node
::
size
()
const
{
return
ip_
->
size
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment