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
b8fd9eb6
Commit
b8fd9eb6
authored
Aug 31, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shortening the name of some precompiler macros.
parent
bd5842a2
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
14 deletions
+16
-14
color_names.hpp
color_names.hpp
+1
-1
context.hpp
context.hpp
+1
-1
document.hpp
document.hpp
+3
-3
eval_apply.hpp
eval_apply.hpp
+2
-2
functions.cpp
functions.cpp
+1
-1
functions.hpp
functions.hpp
+4
-2
node.hpp
node.hpp
+1
-1
node_factory.hpp
node_factory.hpp
+1
-1
prelexer.hpp
prelexer.hpp
+1
-1
test_node_factory.cpp
test_node_factory.cpp
+1
-1
No files found.
color_names.hpp
View file @
b8fd9eb6
#define SASS_COLOR_NAMES
_INCLUDED
#define SASS_COLOR_NAMES
namespace
Sass
{
...
...
context.hpp
View file @
b8fd9eb6
#define SASS_CONTEXT
_INCLUDED
#define SASS_CONTEXT
#include <utility>
...
...
document.hpp
View file @
b8fd9eb6
#include <map>
#ifndef SASS_PRELEXER
_INCLUDED
#ifndef SASS_PRELEXER
#include "prelexer.hpp"
#endif
#ifndef SASS_NODE
_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
#ifndef SASS_CONTEXT
_INCLUDED
#ifndef SASS_CONTEXT
#include "context.hpp"
#endif
...
...
eval_apply.hpp
View file @
b8fd9eb6
#include <map>
#ifndef SASS_NODE
_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
#ifndef SASS_CONTEXT
_INCLUDED
#ifndef SASS_CONTEXT
#include "context.hpp"
#endif
...
...
functions.cpp
View file @
b8fd9eb6
#ifndef SASS_PRELEXER
_INCLUDED
#ifndef SASS_PRELEXER
#include "prelexer.hpp"
#endif
#include "node_factory.hpp"
...
...
functions.hpp
View file @
b8fd9eb6
#include <cstring>
#include <map>
#ifndef SASS_NODE
_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
...
...
@@ -11,6 +11,8 @@ namespace Sass {
typedef
Node
(
*
Primitive
)(
const
Node
,
map
<
Token
,
Node
>&
,
Node_Factory
&
new_Node
);
typedef
const
char
*
str
;
typedef
str
Function_Descriptor
[];
struct
Environment
;
struct
Function
{
...
...
@@ -56,7 +58,7 @@ namespace Sass {
parameters
.
push_back
(
new_Node
(
Node
::
variable
,
"[PRIMITIVE FUNCTIONS]"
,
0
,
Token
::
make
(
p
,
p
+
std
::
strlen
(
p
))));
}
}
Node
operator
()(
map
<
Token
,
Node
>&
bindings
,
Node_Factory
&
new_Node
)
const
{
if
(
primitive
)
return
primitive
(
parameters
,
bindings
,
new_Node
);
...
...
node.hpp
View file @
b8fd9eb6
#define SASS_NODE
_INCLUDED
#define SASS_NODE
#include <cstring>
#include <string>
...
...
node_factory.hpp
View file @
b8fd9eb6
#include <vector>
#ifndef SASS_NODE
_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
...
...
prelexer.hpp
View file @
b8fd9eb6
#define SASS_PRELEXER
_INCLUDED
#define SASS_PRELEXER
namespace
Sass
{
namespace
Prelexer
{
...
...
test_node_factory.cpp
View file @
b8fd9eb6
...
...
@@ -4,7 +4,7 @@
#include <map>
#include <algorithm>
#ifndef SASS_NODE
_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
...
...
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